@Test
public void testPrecision() {

	for (int i = 0; i < a.length; i++) {
		assertEquals("Precision not correct", precision[i], ConfusionMetrics.getPrecision(tp(a[i], b[i]), fp(a[i], b[i])), 1E-8);
	}
}