Home
last modified time | relevance | path

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

/art/test/422-type-conversion/src/
DMain.java45 public static void assertCharEquals(char expected, char result) { in assertCharEquals() method in Main
589 assertCharEquals((char)1, $opt$noinline$ByteToChar((byte)1)); in byteToChar()
590 assertCharEquals((char)0, $opt$noinline$ByteToChar((byte)0)); in byteToChar()
591 assertCharEquals((char)65535, $opt$noinline$ByteToChar((byte)-1)); in byteToChar()
592 assertCharEquals((char)51, $opt$noinline$ByteToChar((byte)51)); in byteToChar()
593 assertCharEquals((char)65485, $opt$noinline$ByteToChar((byte)-51)); in byteToChar()
594 assertCharEquals((char)127, $opt$noinline$ByteToChar((byte)127)); // 2^7 - 1 in byteToChar()
595 assertCharEquals((char)65409, $opt$noinline$ByteToChar((byte)-127)); // -(2^7 - 1) in byteToChar()
596 assertCharEquals((char)65408, $opt$noinline$ByteToChar((byte)-128)); // -(2^7) in byteToChar()
600 assertCharEquals((char)1, $opt$noinline$ShortToChar((short)1)); in shortToChar()
[all …]
/art/test/551-checker-shifter-operand/src/
DMain.java28 public static void assertCharEquals(char expected, char result) { in assertCharEquals() method in Main