Home
last modified time | relevance | path

Searched refs:assertCharEquals (Results 1 – 1 of 1) 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$ByteToChar((byte)1)); in byteToChar()
590 assertCharEquals((char)0, $opt$ByteToChar((byte)0)); in byteToChar()
591 assertCharEquals((char)65535, $opt$ByteToChar((byte)-1)); in byteToChar()
592 assertCharEquals((char)51, $opt$ByteToChar((byte)51)); in byteToChar()
593 assertCharEquals((char)65485, $opt$ByteToChar((byte)-51)); in byteToChar()
594 assertCharEquals((char)127, $opt$ByteToChar((byte)127)); // 2^7 - 1 in byteToChar()
595 assertCharEquals((char)65409, $opt$ByteToChar((byte)-127)); // -(2^7 - 1) in byteToChar()
596 assertCharEquals((char)65408, $opt$ByteToChar((byte)-128)); // -(2^7) in byteToChar()
600 assertCharEquals((char)1, $opt$ShortToChar((short)1)); in shortToChar()
[all …]