Home
last modified time | relevance | path

Searched refs:assertShortEquals (Results 1 – 2 of 2) sorted by relevance

/art/test/422-type-conversion/src/
DMain.java27 public static void assertShortEquals(short expected, short result) { in assertShortEquals() method in Main
548 assertShortEquals((short)1, $opt$noinline$ByteToShort((byte)1)); in byteToShort()
549 assertShortEquals((short)0, $opt$noinline$ByteToShort((byte)0)); in byteToShort()
550 assertShortEquals((short)-1, $opt$noinline$ByteToShort((byte)-1)); in byteToShort()
551 assertShortEquals((short)51, $opt$noinline$ByteToShort((byte)51)); in byteToShort()
552 assertShortEquals((short)-51, $opt$noinline$ByteToShort((byte)-51)); in byteToShort()
553 assertShortEquals((short)127, $opt$noinline$ByteToShort((byte)127)); // 2^7 - 1 in byteToShort()
554 assertShortEquals((short)-127, $opt$noinline$ByteToShort((byte)-127)); // -(2^7 - 1) in byteToShort()
555 assertShortEquals((short)-128, $opt$noinline$ByteToShort((byte)-128)); // -(2^7) in byteToShort()
559 assertShortEquals((short)1, $opt$noinline$IntToShort(1)); in intToShort()
[all …]
/art/test/551-checker-shifter-operand/src/
DMain.java34 public static void assertShortEquals(short expected, short result) { in assertShortEquals() method in Main