Lines Matching refs:actual
111 static public void assertEquals(int expected, int actual) { in assertEquals() argument
112 if (expected != actual) in assertEquals()
114 "not equals. Expected " + expected + " actual " + actual); in assertEquals()
117 static public void assertEquals(String message, int expected, int actual) { in assertEquals() argument
118 if (expected != actual) in assertEquals()
120 "not equals: " + message + " Expected " + expected + " actual " + actual); in assertEquals()
123 static public void assertEquals(long expected, long actual) { in assertEquals() argument
124 if (expected != actual) in assertEquals()
126 "not equals. Expected " + expected + " actual " + actual); in assertEquals()
129 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument
130 if (!(Math.abs(expected - actual) <= delta)) in assertEquals()
134 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
135 if (expected == null && actual == null) in assertEquals()
137 if (expected != null && expected.equals(actual)) in assertEquals()
139 throw new AssertionFailedException("not the same: " + expected + " vs " + actual); in assertEquals()