SizeMetrics { public float f(int i) { int k = 0; if (i != 0) { k = 1; } return (float)i/(k+1); }  float f(int i);  }
@Test public void test() throws Exception { SizeMetrics s = new SizeMetrics(); assertEquals(0.0, s.f(0), 0.0); }