Searched refs:expectEqualsInt (Results 1 – 3 of 3) sorted by relevance
/art/test/565-checker-rotate/src/ |
D | Main.java | 368 expectEqualsInt(0, rotateLeftBoolean(false, i)); in testRotateLeftBoolean() 369 expectEqualsInt(1 << i, rotateLeftBoolean(true, i)); in testRotateLeftBoolean() 374 expectEqualsInt(0x00000001, rotateLeftByte((byte)0x01, 0)); in testRotateLeftByte() 375 expectEqualsInt(0x00000002, rotateLeftByte((byte)0x01, 1)); in testRotateLeftByte() 376 expectEqualsInt(0x80000000, rotateLeftByte((byte)0x01, 31)); in testRotateLeftByte() 377 expectEqualsInt(0x00000001, rotateLeftByte((byte)0x01, 32)); // overshoot in testRotateLeftByte() 378 expectEqualsInt(0xFFFFFF03, rotateLeftByte((byte)0x81, 1)); in testRotateLeftByte() 379 expectEqualsInt(0xFFFFFE07, rotateLeftByte((byte)0x81, 2)); in testRotateLeftByte() 380 expectEqualsInt(0x00000120, rotateLeftByte((byte)0x12, 4)); in testRotateLeftByte() 381 expectEqualsInt(0xFFFF9AFF, rotateLeftByte((byte)0x9A, 8)); in testRotateLeftByte() [all …]
|
/art/test/564-checker-bitcount/src/ |
D | Main.java | 73 expectEqualsInt($noinline$BitCountBoolean(false), 0); in testBitCountBoolean() 74 expectEqualsInt($noinline$BitCountBoolean(true), 1); in testBitCountBoolean() 84 expectEqualsInt($noinline$BitCountByte((byte) 0x00), 0); in testBitCountByte() 85 expectEqualsInt($noinline$BitCountByte((byte) 0x01), 1); in testBitCountByte() 86 expectEqualsInt($noinline$BitCountByte((byte) 0x10), 1); in testBitCountByte() 87 expectEqualsInt($noinline$BitCountByte((byte) 0x11), 2); in testBitCountByte() 88 expectEqualsInt($noinline$BitCountByte((byte) 0x03), 2); in testBitCountByte() 89 expectEqualsInt($noinline$BitCountByte((byte) 0x70), 3); in testBitCountByte() 90 expectEqualsInt($noinline$BitCountByte((byte) 0xF0), 4 + signExtensionSize); in testBitCountByte() 91 expectEqualsInt($noinline$BitCountByte((byte) 0x0F), 4); in testBitCountByte() [all …]
|
/art/test/593-checker-boolean-2-integral-conv/src/ |
D | Main.java | 25 expectEqualsInt(1, booleanToInt(true)); in main() 29 expectEqualsInt(1, longToIntOfBoolean()); in main() 30 expectEqualsInt(1, $noinline$runSmaliTest("longToIntOfBoolean")); in main() 166 private static void expectEqualsInt(int expected, int result) { in expectEqualsInt() method in Main
|