HomeSort by relevance Sort by last modified time
    Searched refs:assertShortEquals (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/util/src/android/util/cts/
HalfTest.java 37 private static void assertShortEquals(short a, short b) {
41 private static void assertShortEquals(int a, short b) {
48 assertShortEquals(POSITIVE_ZERO, toHalf(0.0f));
49 assertShortEquals(NEGATIVE_ZERO, toHalf(-0.0f));
50 assertShortEquals(NaN, toHalf(Float.NaN));
51 assertShortEquals(POSITIVE_INFINITY, toHalf(Float.POSITIVE_INFINITY));
52 assertShortEquals(NEGATIVE_INFINITY, toHalf(Float.NEGATIVE_INFINITY));
54 assertShortEquals(0x3c01, toHalf(1.0009765625f));
55 assertShortEquals(0xc000, toHalf(-2.0f));
56 assertShortEquals(0x0400, toHalf(6.10352e-5f))
    [all...]
  /art/test/422-type-conversion/src/
Main.java 27 public static void assertShortEquals(short expected, short result) {
552 assertShortEquals((short)1, $opt$noinline$ByteToShort((byte)1));
553 assertShortEquals((short)0, $opt$noinline$ByteToShort((byte)0));
554 assertShortEquals((short)-1, $opt$noinline$ByteToShort((byte)-1));
555 assertShortEquals((short)51, $opt$noinline$ByteToShort((byte)51));
556 assertShortEquals((short)-51, $opt$noinline$ByteToShort((byte)-51));
557 assertShortEquals((short)127, $opt$noinline$ByteToShort((byte)127)); // 2^7 - 1
558 assertShortEquals((short)-127, $opt$noinline$ByteToShort((byte)-127)); // -(2^7 - 1)
559 assertShortEquals((short)-128, $opt$noinline$ByteToShort((byte)-128)); // -(2^7)
563 assertShortEquals((short)1, $opt$noinline$IntToShort(1))
    [all...]
  /art/test/551-checker-shifter-operand/src/
Main.java 34 public static void assertShortEquals(short expected, short result) {
    [all...]

Completed in 268 milliseconds