Lines Matching refs:expectEquals
21 public static void expectEquals(int expected, int result) { in expectEquals() method in SubTest
27 public static void expectEquals(long expected, long result) { in expectEquals() method in SubTest
33 public static void expectEquals(float expected, float result) { in expectEquals() method in SubTest
39 public static void expectEquals(double expected, double result) { in expectEquals() method in SubTest
81 expectEquals(2, $opt$Sub(5, 3)); in subInt()
82 expectEquals(0, $opt$Sub(0, 0)); in subInt()
83 expectEquals(-3, $opt$Sub(0, 3)); in subInt()
84 expectEquals(3, $opt$Sub(3, 0)); in subInt()
85 expectEquals(4, $opt$Sub(1, -3)); in subInt()
86 expectEquals(-9, $opt$Sub(-12, -3)); in subInt()
87 expectEquals(134217724, $opt$Sub(134217729, 5)); // (2^27 + 1) - 5 in subInt()
91 expectEquals(2L, $opt$Sub(5L, 3L)); in subLong()
92 expectEquals(0L, $opt$Sub(0L, 0L)); in subLong()
93 expectEquals(-3L, $opt$Sub(0L, 3L)); in subLong()
94 expectEquals(3L, $opt$Sub(3L, 0L)); in subLong()
95 expectEquals(4L, $opt$Sub(1L, -3L)); in subLong()
96 expectEquals(-9L, $opt$Sub(-12L, -3L)); in subLong()
97 expectEquals(134217724L, $opt$Sub(134217729L, 5L)); // (2^27 + 1) - 5 in subLong()
98 expectEquals(34359738362L, $opt$Sub(34359738369L, 7L)); // (2^35 + 1) - 7 in subLong()
119 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(-Float.MAX_VALUE, Float.MAX_VALUE)); in subFloat()
120 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(2F, Float.POSITIVE_INFINITY)); in subFloat()
121 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(Float.MAX_VALUE, -Float.MAX_VALUE)); in subFloat()
122 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(2F, Float.NEGATIVE_INFINITY)); in subFloat()
123 … expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY)); in subFloat()
124 … expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY)); in subFloat()
146 expectEquals(Double.NEGATIVE_INFINITY, $opt$Sub(-Double.MAX_VALUE, Double.MAX_VALUE)); in subDouble()
147 expectEquals(Double.NEGATIVE_INFINITY, $opt$Sub(2D, Double.POSITIVE_INFINITY)); in subDouble()
148 expectEquals(Double.POSITIVE_INFINITY, $opt$Sub(Double.MAX_VALUE, -Double.MAX_VALUE)); in subDouble()
149 expectEquals(Double.POSITIVE_INFINITY, $opt$Sub(2D, Double.NEGATIVE_INFINITY)); in subDouble()
150 …expectEquals(Double.POSITIVE_INFINITY, $opt$Sub(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY… in subDouble()
151 …expectEquals(Double.NEGATIVE_INFINITY, $opt$Sub(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY… in subDouble()