Searched refs:assertByteEquals (Results 1 – 3 of 3) sorted by relevance
/art/test/711-checker-type-conversion/src/ |
D | Main.java | 19 public static void assertByteEquals(byte expected, byte result) { in assertByteEquals() method in Main 235 assertByteEquals(getByte1(), (byte)-5); in main() 236 assertByteEquals(getByte2(), (byte)(-201)); in main() 237 assertByteEquals(getByte3(), (byte)(0xcd + 0xcd)); in main() 246 assertByteEquals(byteArr[0], (byte)-1); in main() 252 assertByteEquals(byteArr[0], (byte)-1); in main() 258 assertByteEquals(byteArr[0], (byte)-1); in main()
|
/art/test/422-type-conversion/src/ |
D | Main.java | 21 public static void assertByteEquals(byte expected, byte result) { in assertByteEquals() method in Main 507 assertByteEquals((byte)1, $opt$noinline$ShortToByte((short)1)); in shortToByte() 508 assertByteEquals((byte)0, $opt$noinline$ShortToByte((short)0)); in shortToByte() 509 assertByteEquals((byte)-1, $opt$noinline$ShortToByte((short)-1)); in shortToByte() 510 assertByteEquals((byte)51, $opt$noinline$ShortToByte((short)51)); in shortToByte() 511 assertByteEquals((byte)-51, $opt$noinline$ShortToByte((short)-51)); in shortToByte() 512 assertByteEquals((byte)127, $opt$noinline$ShortToByte((short)127)); // 2^7 - 1 in shortToByte() 513 assertByteEquals((byte)-127, $opt$noinline$ShortToByte((short)-127)); // -(2^7 - 1) in shortToByte() 514 assertByteEquals((byte)-128, $opt$noinline$ShortToByte((short)-128)); // -(2^7) in shortToByte() 515 assertByteEquals((byte)-128, $opt$noinline$ShortToByte((short)128)); // 2^7 in shortToByte() [all …]
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 19 public static void assertByteEquals(byte expected, byte result) { in assertByteEquals() method in Main
|