Round { public static int round(double d) { return (int)Math.floor(d + 1.0 - THRESHOLD); }  static int round(double d); static void main(String[] argv); static final double THRESHOLD; }
@Test public void test() { assertEquals(expected, Round.round(input), 0.0000000000000001); }