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
45 expectEquals(1, $opt$And(5, 3)); in andInt()
46 expectEquals(0, $opt$And(0, 0)); in andInt()
47 expectEquals(0, $opt$And(0, 3)); in andInt()
48 expectEquals(0, $opt$And(3, 0)); in andInt()
49 expectEquals(1, $opt$And(1, -3)); in andInt()
50 expectEquals(-12, $opt$And(-12, -3)); in andInt()
52 expectEquals(1, $opt$AndLit8(1)); in andInt()
53 expectEquals(0, $opt$AndLit8(0)); in andInt()
54 expectEquals(0, $opt$AndLit8(0)); in andInt()
55 expectEquals(3, $opt$AndLit8(3)); in andInt()
56 expectEquals(4, $opt$AndLit8(-12)); in andInt()
58 expectEquals(0, $opt$AndLit16(1)); in andInt()
59 expectEquals(0, $opt$AndLit16(0)); in andInt()
60 expectEquals(0, $opt$AndLit16(0)); in andInt()
61 expectEquals(0, $opt$AndLit16(3)); in andInt()
62 expectEquals(65280, $opt$AndLit16(-12)); in andInt()
66 expectEquals(1L, $opt$And(5L, 3L)); in andLong()
67 expectEquals(0L, $opt$And(0L, 0L)); in andLong()
68 expectEquals(0L, $opt$And(0L, 3L)); in andLong()
69 expectEquals(0L, $opt$And(3L, 0L)); in andLong()
70 expectEquals(1L, $opt$And(1L, -3L)); in andLong()
71 expectEquals(-12L, $opt$And(-12L, -3L)); in andLong()
73 expectEquals(1L, $opt$AndLit8(1L)); in andLong()
74 expectEquals(0L, $opt$AndLit8(0L)); in andLong()
75 expectEquals(0L, $opt$AndLit8(0L)); in andLong()
76 expectEquals(3L, $opt$AndLit8(3L)); in andLong()
77 expectEquals(4L, $opt$AndLit8(-12L)); in andLong()
79 expectEquals(0L, $opt$AndLit16(1L)); in andLong()
80 expectEquals(0L, $opt$AndLit16(0L)); in andLong()
81 expectEquals(0L, $opt$AndLit16(0L)); in andLong()
82 expectEquals(0L, $opt$AndLit16(3L)); in andLong()
83 expectEquals(65280L, $opt$AndLit16(-12L)); in andLong()
111 expectEquals(7, $opt$Or(5, 3)); in orInt()
112 expectEquals(0, $opt$Or(0, 0)); in orInt()
113 expectEquals(3, $opt$Or(0, 3)); in orInt()
114 expectEquals(3, $opt$Or(3, 0)); in orInt()
115 expectEquals(-3, $opt$Or(1, -3)); in orInt()
116 expectEquals(-3, $opt$Or(-12, -3)); in orInt()
118 expectEquals(15, $opt$OrLit8(1)); in orInt()
119 expectEquals(15, $opt$OrLit8(0)); in orInt()
120 expectEquals(15, $opt$OrLit8(3)); in orInt()
121 expectEquals(-1, $opt$OrLit8(-12)); in orInt()
123 expectEquals(0xFF01, $opt$OrLit16(1)); in orInt()
124 expectEquals(0xFF00, $opt$OrLit16(0)); in orInt()
125 expectEquals(0xFF03, $opt$OrLit16(3)); in orInt()
126 expectEquals(-12, $opt$OrLit16(-12)); in orInt()
130 expectEquals(7L, $opt$Or(5L, 3L)); in orLong()
131 expectEquals(0L, $opt$Or(0L, 0L)); in orLong()
132 expectEquals(3L, $opt$Or(0L, 3L)); in orLong()
133 expectEquals(3L, $opt$Or(3L, 0L)); in orLong()
134 expectEquals(-3L, $opt$Or(1L, -3L)); in orLong()
135 expectEquals(-3L, $opt$Or(-12L, -3L)); in orLong()
137 expectEquals(15L, $opt$OrLit8(1L)); in orLong()
138 expectEquals(15L, $opt$OrLit8(0L)); in orLong()
139 expectEquals(15L, $opt$OrLit8(3L)); in orLong()
140 expectEquals(-1L, $opt$OrLit8(-12L)); in orLong()
142 expectEquals(0xFF01L, $opt$OrLit16(1L)); in orLong()
143 expectEquals(0xFF00L, $opt$OrLit16(0L)); in orLong()
144 expectEquals(0xFF03L, $opt$OrLit16(3L)); in orLong()
145 expectEquals(-12L, $opt$OrLit16(-12L)); in orLong()
173 expectEquals(6, $opt$Xor(5, 3)); in xorInt()
174 expectEquals(0, $opt$Xor(0, 0)); in xorInt()
175 expectEquals(3, $opt$Xor(0, 3)); in xorInt()
176 expectEquals(3, $opt$Xor(3, 0)); in xorInt()
177 expectEquals(-4, $opt$Xor(1, -3)); in xorInt()
178 expectEquals(9, $opt$Xor(-12, -3)); in xorInt()
180 expectEquals(14, $opt$XorLit8(1)); in xorInt()
181 expectEquals(15, $opt$XorLit8(0)); in xorInt()
182 expectEquals(12, $opt$XorLit8(3)); in xorInt()
183 expectEquals(-5, $opt$XorLit8(-12)); in xorInt()
185 expectEquals(0xFF01, $opt$XorLit16(1)); in xorInt()
186 expectEquals(0xFF00, $opt$XorLit16(0)); in xorInt()
187 expectEquals(0xFF03, $opt$XorLit16(3)); in xorInt()
188 expectEquals(-0xFF0c, $opt$XorLit16(-12)); in xorInt()
192 expectEquals(6L, $opt$Xor(5L, 3L)); in xorLong()
193 expectEquals(0L, $opt$Xor(0L, 0L)); in xorLong()
194 expectEquals(3L, $opt$Xor(0L, 3L)); in xorLong()
195 expectEquals(3L, $opt$Xor(3L, 0L)); in xorLong()
196 expectEquals(-4L, $opt$Xor(1L, -3L)); in xorLong()
197 expectEquals(9L, $opt$Xor(-12L, -3L)); in xorLong()
199 expectEquals(14L, $opt$XorLit8(1L)); in xorLong()
200 expectEquals(15L, $opt$XorLit8(0L)); in xorLong()
201 expectEquals(12L, $opt$XorLit8(3L)); in xorLong()
202 expectEquals(-5L, $opt$XorLit8(-12L)); in xorLong()
204 expectEquals(0xFF01L, $opt$XorLit16(1L)); in xorLong()
205 expectEquals(0xFF00L, $opt$XorLit16(0L)); in xorLong()
206 expectEquals(0xFF03L, $opt$XorLit16(3L)); in xorLong()
207 expectEquals(-0xFF0cL, $opt$XorLit16(-12L)); in xorLong()