Lines Matching refs:expected
111 static public void assertEquals(int expected, int actual) { in assertEquals() argument
112 …if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " +… in assertEquals()
115 static public void assertEquals(String message, int expected, int actual) { in assertEquals() argument
116 …if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals: " + message … in assertEquals()
119 static public void assertEquals(long expected, long actual) { in assertEquals() argument
120 …if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " +… in assertEquals()
123 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument
124 …if(!(Math.abs(expected-actual) <= delta)) throw new RuntimeException("AssertionFailedError: not wi… in assertEquals()
127 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
128 if (expected == null && actual == null) in assertEquals()
130 if (expected != null && expected.equals(actual)) in assertEquals()