Home | History | Annotate | Download | only in junit

Lines Matching refs:expected

20     static public void assertEquals(int expected, int actual) {
21 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals");
24 static public void assertEquals(long expected, long actual) {
25 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals");
28 static public void assertEquals(double expected, double actual, double delta) {
29 if(!(Math.abs(expected-actual) <= delta)) throw new RuntimeException("AssertionFailedError: not within delta");
32 static public void assertEquals(Object expected, Object actual) {
33 if (expected == null && actual == null)
35 if (expected != null && expected.equals(actual))