Lines Matching refs:expectEquals

21   public static void expectEquals(int expected, int result) {  in expectEquals()  method in Main
27 public static void expectEquals(long expected, long result) { in expectEquals() method in Main
39 expectEquals(1, smaliNotInt(-2)); in notInt()
40 expectEquals(0, smaliNotInt(-1)); in notInt()
41 expectEquals(-1, smaliNotInt(0)); in notInt()
42 expectEquals(-2, smaliNotInt(1)); in notInt()
43 expectEquals(2147483647, smaliNotInt(-2147483648)); // -(2^31) in notInt()
44 expectEquals(2147483646, smaliNotInt(-2147483647)); // -(2^31 - 1) in notInt()
45 expectEquals(-2147483647, smaliNotInt(2147483646)); // 2^31 - 2 in notInt()
46 expectEquals(-2147483648, smaliNotInt(2147483647)); // 2^31 - 1 in notInt()
50 expectEquals(1L, smaliNotLong(-2L)); in notLong()
51 expectEquals(0L, smaliNotLong(-1L)); in notLong()
52 expectEquals(-1L, smaliNotLong(0L)); in notLong()
53 expectEquals(-2L, smaliNotLong(1L)); in notLong()
54 expectEquals(2147483647L, smaliNotLong(-2147483648L)); // -(2^31) in notLong()
55 expectEquals(2147483646L, smaliNotLong(-2147483647L)); // -(2^31 - 1) in notLong()
56 expectEquals(-2147483647L, smaliNotLong(2147483646L)); // 2^31 - 2 in notLong()
57 expectEquals(-2147483648L, smaliNotLong(2147483647L)); // 2^31 - 1 in notLong()
58 expectEquals(9223372036854775807L, smaliNotLong(-9223372036854775808L)); // -(2^63) in notLong()
59 expectEquals(9223372036854775806L, smaliNotLong(-9223372036854775807L)); // -(2^63 - 1) in notLong()
60 expectEquals(-9223372036854775807L, smaliNotLong(9223372036854775806L)); // 2^63 - 2 in notLong()
61 expectEquals(-9223372036854775808L, smaliNotLong(9223372036854775807L)); // 2^63 - 1 in notLong()