Lines Matching refs:expected
179 int expected = 0; in testSignInt() local
180 if (i < 0) expected = -1; in testSignInt()
181 else if (i > 0) expected = 1; in testSignInt()
182 expectEquals(expected, signInt(i)); in testSignInt()
203 int expected = 0; in testSignLong() local
204 if (i < 0) expected = -1; in testSignLong()
205 else if (i > 0) expected = 1; in testSignLong()
206 expectEquals(expected, signLong(i)); in testSignLong()
230 private static void expectEquals(int expected, int result) { in expectEquals() argument
231 if (expected != result) { in expectEquals()
232 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()