Home
last modified time | relevance | path

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

/art/test/422-type-conversion/src/
DMain.java21 public static void assertByteEquals(byte expected, byte result) { in assertByteEquals() method in Main
503 assertByteEquals((byte)1, $opt$noinline$ShortToByte((short)1)); in shortToByte()
504 assertByteEquals((byte)0, $opt$noinline$ShortToByte((short)0)); in shortToByte()
505 assertByteEquals((byte)-1, $opt$noinline$ShortToByte((short)-1)); in shortToByte()
506 assertByteEquals((byte)51, $opt$noinline$ShortToByte((short)51)); in shortToByte()
507 assertByteEquals((byte)-51, $opt$noinline$ShortToByte((short)-51)); in shortToByte()
508 assertByteEquals((byte)127, $opt$noinline$ShortToByte((short)127)); // 2^7 - 1 in shortToByte()
509 assertByteEquals((byte)-127, $opt$noinline$ShortToByte((short)-127)); // -(2^7 - 1) in shortToByte()
510 assertByteEquals((byte)-128, $opt$noinline$ShortToByte((short)-128)); // -(2^7) in shortToByte()
511 assertByteEquals((byte)-128, $opt$noinline$ShortToByte((short)128)); // 2^7 in shortToByte()
[all …]
/art/test/551-checker-shifter-operand/src/
DMain.java22 public static void assertByteEquals(byte expected, byte result) { in assertByteEquals() method in Main