Lines Matching refs:expected
20 public static void assertIntEquals(int expected, int result) { in assertIntEquals() argument
21 if (expected != result) { in assertIntEquals()
22 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
26 public static void assertDoubleEquals(double expected, double result) { in assertDoubleEquals() argument
27 if (expected != result) { in assertDoubleEquals()
28 throw new Error("Expected: " + expected + ", found: " + result); in assertDoubleEquals()
32 public static void assertFloatEquals(float expected, float result) { in assertFloatEquals() argument
33 if (expected != result) { in assertFloatEquals()
34 throw new Error("Expected: " + expected + ", found: " + result); in assertFloatEquals()
38 public static void assertLongEquals(long expected, long result) { in assertLongEquals() argument
39 if (expected != result) { in assertLongEquals()
40 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()