Lines Matching refs:b
43 public static void assertEqual(int a, int b) { in assertEqual() argument
44 if (a != b) { in assertEqual()
45 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual()
49 public static void assertEqual(long a, long b) { in assertEqual() argument
50 if (a != b) { in assertEqual()
51 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual()
55 public static void assertEqual(float a, float b) { in assertEqual() argument
56 boolean aproxEquals = (a > b) in assertEqual()
57 ? ((a - b) < 0.0001f) in assertEqual()
58 : ((b - a) < 0.0001f); in assertEqual()
60 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual()
64 public static void assertEqual(double a, double b) { in assertEqual() argument
65 boolean aproxEquals = (a > b) in assertEqual()
66 ? ((a - b) < 0.0001d) in assertEqual()
67 : ((b - a) < 0.0001d); in assertEqual()
69 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual()