Lines Matching full:expectequals
21 public static void expectEquals(int expected, int result) {
27 public static void expectEquals(long expected, long result) {
33 public static void expectEquals(float expected, float result) {
39 public static void expectEquals(double expected, double result) {
87 expectEquals(15, $opt$Mul(5, 3));
88 expectEquals(0, $opt$Mul(0, 0));
89 expectEquals(0, $opt$Mul(0, 3));
90 expectEquals(0, $opt$Mul(3, 0));
91 expectEquals(-3, $opt$Mul(1, -3));
92 expectEquals(36, $opt$Mul(-12, -3));
93 expectEquals(33, $opt$Mul(1, 3) * 11);
94 expectEquals(671088645, $opt$Mul(134217729, 5)); // (2^27 + 1) * 5
98 expectEquals(15L, $opt$Mul(5L, 3L));
99 expectEquals(0L, $opt$Mul(0L, 0L));
100 expectEquals(0L, $opt$Mul(0L, 3L));
101 expectEquals(0L, $opt$Mul(3L, 0L));
102 expectEquals(-3L, $opt$Mul(1L, -3L));
103 expectEquals(36L, $opt$Mul(-12L, -3L));
104 expectEquals(33L, $opt$Mul(1L, 3L) * 11L);
105 expectEquals(240518168583L, $opt$Mul(34359738369L, 7L)); // (2^35 + 1) * 7
126 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(2F, 3.40282346638528860e+38F));
127 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(2F, Float.POSITIVE_INFINITY));
128 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, Float.POSITIVE_INFINITY));
129 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, 3.40282346638528860e+38F));
130 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(2F, Float.NEGATIVE_INFINITY));
131 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(-2F, Float.NEGATIVE_INFINITY));
132 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY));
133 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY));
134 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY));
155 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(2D, 1.79769313486231570e+308));
156 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(2D, Double.POSITIVE_INFINITY));
157 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(-2D, Double.POSITIVE_INFINITY));
158 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(-2D, 1.79769313486231570e+308));
159 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(2D, Double.NEGATIVE_INFINITY));
160 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(-2D, Double.NEGATIVE_INFINITY));
161 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY));
162 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY));
163 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY));