@Test public void integer_equal_to_itself() { assertEquals(0, IntegerPolyfill.compare(0, 0)); assertEquals(0, IntegerPolyfill.compare(42, 42)); assertEquals(0, IntegerPolyfill.compare(-273, -273)); }
public static int compare(int x, int y) { return (x < y) ? -1 : ((x == y) ? 0 : 1); }
IntegerPolyfill { public static int compare(int x, int y) { return (x < y) ? -1 : ((x == y) ? 0 : 1); } }
IntegerPolyfill { public static int compare(int x, int y) { return (x < y) ? -1 : ((x == y) ? 0 : 1); }  }
IntegerPolyfill { public static int compare(int x, int y) { return (x < y) ? -1 : ((x == y) ? 0 : 1); }  static int compare(int x, int y); }
IntegerPolyfill { public static int compare(int x, int y) { return (x < y) ? -1 : ((x == y) ? 0 : 1); }  static int compare(int x, int y);  }