Lines Matching refs:expected
135 private static void expectEquals32(int expected, int result) { in expectEquals32() argument
136 if (expected != result) { in expectEquals32()
137 throw new Error("Expected: 0x" + Integer.toHexString(expected) in expectEquals32()
143 private static void expectEqualsNaN32(int expected, int result) { in expectEqualsNaN32() argument
144 if (expected != result && (expected | SPQUIET) != result) { in expectEqualsNaN32()
145 throw new Error("Expected: 0x" + Integer.toHexString(expected) in expectEqualsNaN32()
150 private static void expectEquals64(long expected, long result) { in expectEquals64() argument
151 if (expected != result) { in expectEquals64()
152 throw new Error("Expected: 0x" + Long.toHexString(expected) in expectEquals64()
158 private static void expectEqualsNaN64(long expected, long result) { in expectEqualsNaN64() argument
159 if (expected != result && (expected | DPQUIET) != result) { in expectEqualsNaN64()
160 throw new Error("Expected: 0x" + Long.toHexString(expected) in expectEqualsNaN64()
165 private static void expectEqualsSP(float expected, float result) { in expectEqualsSP() argument
166 if (expected != result) { in expectEqualsSP()
167 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsSP()
171 private static void expectEqualsDP(double expected, double result) { in expectEqualsDP() argument
172 if (expected != result) { in expectEqualsDP()
173 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsDP()