/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
D | Test_rsub_int_lit8.java | 37 assertEquals("Subtest_1 is failed", -4, t.run(8)); in testN1() 50 assertEquals("Subtest_1 is failed",123, t.run(0)); in testN2() 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 64 assertEquals(-Byte.MAX_VALUE, t.run(Byte.MAX_VALUE)); in testB1() 74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 75 assertEquals(128, t.run(Byte.MIN_VALUE)); in testB2() 83 assertEquals(0, t.run(0)); in testB3() 94 assertEquals(Byte.MAX_VALUE, t.run(0)); in testB4() 95 assertEquals(126, t.run(1)); in testB4() 96 assertEquals(128, t.run(-1)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
D | Test_rsub_int.java | 37 assertEquals("Subtest_1 is failed", -4, t.run(8)); in testN1() 50 assertEquals("Subtest_1 is failed",255, t.run(0)); in testN2() 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 64 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE)); in testB1() 74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 75 assertEquals(32768, t.run(Short.MIN_VALUE)); in testB2() 83 assertEquals(0, t.run(0)); in testB3() 94 assertEquals(Short.MAX_VALUE, t.run(0)); in testB4() 95 assertEquals(32766, t.run(1)); in testB4() 96 assertEquals(32768, t.run(-1)); in testB4() [all …]
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 93 .run(mGoodGuyRunner1) in testOnlyTestFails() 98 verify(mGoodGuyRunner1).run(); in testOnlyTestFails() 106 .run(mGoodGuyRunner1) in testOnlyTestFails_withDumper() 111 verify(mGoodGuyRunner1).run(); in testOnlyTestFails_withDumper() 119 .run(mGoodGuyRunner1) in testTestPass_oneRunnerFails() 120 .run(() -> { throw mRuntimeException; }) in testTestPass_oneRunnerFails() 121 .run(mGoodGuyRunner2) in testTestPass_oneRunnerFails() 126 verify(mGoodGuyRunner1).run(); in testTestPass_oneRunnerFails() 127 verify(mGoodGuyRunner2).run(); in testTestPass_oneRunnerFails() 135 .run(mGoodGuyRunner1) in testTestPass_oneRunnerFails_withDumper() [all …]
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 93 .run(mGoodGuyRunner1) in testOnlyTestFails() 98 verify(mGoodGuyRunner1).run(); in testOnlyTestFails() 106 .run(mGoodGuyRunner1) in testOnlyTestFails_withDumper() 111 verify(mGoodGuyRunner1).run(); in testOnlyTestFails_withDumper() 119 .run(mGoodGuyRunner1) in testTestPass_oneRunnerFails() 120 .run(() -> { throw mRuntimeException; }) in testTestPass_oneRunnerFails() 121 .run(mGoodGuyRunner2) in testTestPass_oneRunnerFails() 126 verify(mGoodGuyRunner1).run(); in testTestPass_oneRunnerFails() 127 verify(mGoodGuyRunner2).run(); in testTestPass_oneRunnerFails() 135 .run(mGoodGuyRunner1) in testTestPass_oneRunnerFails_withDumper() [all …]
|
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/ |
D | RollbackManagerHostTest.java | 47 private void run(String method) throws Exception { in run() method in RollbackManagerHostTest 112 run("testApkOnlyEnableRollback"); in testApkOnlyStagedRollback() 114 run("testApkOnlyCommitRollback"); in testApkOnlyStagedRollback() 116 run("testApkOnlyConfirmRollback"); in testApkOnlyStagedRollback() 126 run("testApexOnlyInstallFirstVersion"); in testApexOnlyStagedRollback() 128 run("testApexOnlyEnableRollback"); in testApexOnlyStagedRollback() 130 run("testApexOnlyCommitRollback"); in testApexOnlyStagedRollback() 132 run("testApexOnlyConfirmRollback"); in testApexOnlyStagedRollback() 142 run("testApexAndApkInstallFirstVersion"); in testApexAndApkStagedRollback() 144 run("testApexAndApkEnableRollback"); in testApexAndApkStagedRollback() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/int_to_byte/ |
D | Test_int_to_byte.java | 31 assertEquals(1, t.run(1)); in testN1() 39 assertEquals(-1, t.run(-1)); in testN2() 47 assertEquals(16, t.run(16)); in testN3() 55 assertEquals(-32, t.run(-32)); in testN4() 63 assertEquals(-122, t.run(134)); in testN5() 72 assertEquals(122, t.run(-134)); in testN6() 80 assertEquals(127, t.run(127)); in testB1() 88 assertEquals(-128, t.run(128)); in testB2() 96 assertEquals(0, t.run(0)); in testB3() 104 assertEquals(-128, t.run(-128)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_int/ |
D | Test_not_int.java | 31 assertEquals(-6, t.run(5)); in testN1() 32 assertEquals(-257, t.run(256)); in testN1() 40 assertEquals(4, t.run(-5)); in testN2() 41 assertEquals(255, t.run(-256)); in testN2() 49 assertEquals(-0xcaff, t.run(0xcafe)); in testN3() 50 assertEquals(-0x12d, t.run(0x12c)); in testN3() 58 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 66 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 74 assertEquals(-2, t.run(1)); in testB3() 82 assertEquals(-1, t.run(0)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/ |
D | Test_sub_float_2addr.java | 30 assertEquals(-0.44000006f, t.run(2.7f, 3.14f)); in testN1() 38 assertEquals(3.14f, t.run(0, -3.14f)); in testN2() 46 assertEquals(-0.44000006f, t.run(-3.14f, -2.7f)); in testN3() 54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); in testB1() 63 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB2() 73 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, in testB3() 82 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB4() 91 assertEquals(+0f, t.run(+0f, -0f)); in testB5() 99 assertEquals(0f, t.run(-0f, -0f)); in testB6() 107 assertEquals(+0f, t.run(+0f, +0f)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float/ |
D | Test_sub_float.java | 32 assertEquals(-0.44000006f, t.run(2.7f, 3.14f)); in testN1() 40 assertEquals(3.14f, t.run(0, -3.14f)); in testN2() 48 assertEquals(-0.44000006f, t.run(-3.14f, -2.7f)); in testN3() 56 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); in testB1() 65 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB2() 75 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, in testB3() 84 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB4() 93 assertEquals(+0f, t.run(+0f, -0f)); in testB5() 101 assertEquals(0f, t.run(-0f, -0f)); in testB6() 109 assertEquals(+0f, t.run(+0f, +0f)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double_2addr/ |
D | Test_sub_double_2addr.java | 30 assertEquals(-0.43999999999999995d, t.run(2.7d, 3.14d)); in testN1() 38 assertEquals(3.14d, t.run(0, -3.14d)); in testN2() 46 assertEquals(-0.43999999999999995d, t.run(-3.14d, -2.7d)); in testN3() 54 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1() 63 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB2() 73 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, in testB3() 82 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB4() 91 assertEquals(+0d, t.run(+0d, -0d)); in testB5() 99 assertEquals(0d, t.run(-0d, -0d)); in testB6() 107 assertEquals(+0d, t.run(+0d, +0d)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double/ |
D | Test_sub_double.java | 31 assertEquals(-0.43999999999999995d, t.run(2.7d, 3.14d)); in testN1() 39 assertEquals(3.14d, t.run(0, -3.14d)); in testN2() 47 assertEquals(-0.43999999999999995d, t.run(-3.14d, -2.7d)); in testN3() 55 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1() 64 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB2() 74 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, in testB3() 83 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB4() 92 assertEquals(+0d, t.run(+0d, -0d)); in testB5() 100 assertEquals(0d, t.run(-0d, -0d)); in testB6() 108 assertEquals(+0d, t.run(+0d, +0d)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/ |
D | Test_sub_int_2addr.java | 30 assertEquals(4, t.run(8, 4)); in testN1() 38 assertEquals(-255, t.run(0, 255)); in testN2() 46 assertEquals(65536, t.run(0, -65536)); in testN3() 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4() 62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1() 70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); in testB3() 86 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB4() 94 assertEquals(0, t.run(0, 0)); in testB5() 102 assertEquals(-2147483648, t.run(0, -Integer.MIN_VALUE)); in testB6() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/ |
D | Test_sub_int.java | 31 assertEquals(4, t.run(8, 4)); in testN1() 39 assertEquals(-255, t.run(0, 255)); in testN2() 47 assertEquals(65536, t.run(0, -65536)); in testN3() 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4() 63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); in testB3() 87 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB4() 95 assertEquals(0, t.run(0, 0)); in testB5() 103 assertEquals(-2147483648, t.run(0, -Integer.MIN_VALUE)); in testB6() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/ |
D | Test_rem_int.java | 31 assertEquals(0, t.run(8, 4)); in testN1() 39 assertEquals(3, t.run(1073741823, 4)); in testN2() 47 assertEquals(0, t.run(0, 4)); in testN3() 55 assertEquals(-1, t.run(-10, 3)); in testN4() 63 assertEquals(1, t.run(1073741824, -3)); in testN5() 71 assertEquals(-697, t.run(-17895697, -3000)); in testN6() 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); in testB2() 95 assertEquals(0, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/ |
D | Test_div_long_2addr.java | 30 assertEquals(2l, t.run(100000000000l, 40000000000l)); in testN1() 38 assertEquals(8l, t.run(98765432123456l, 12345678912345l)); in testN2() 46 assertEquals(0l, t.run(0l, 98765432123456l)); in testN3() 54 assertEquals(-8, t.run(-98765432123456l, 12345678912345l)); in testN4() 62 assertEquals(-8, t.run(98765432123456l, -12345678912345l)); in testN5() 70 assertEquals(80l, t.run(-98765432123456l, -1234567891234l)); in testN6() 78 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB1() 86 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB2() 94 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); in testB3() 102 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long/ |
D | Test_rem_long.java | 31 assertEquals(2000000000l, t.run(10000000000l, 4000000000l)); in testN1() 39 assertEquals(123l, t.run(1234567890123l, 123456789l)); in testN2() 47 assertEquals(0l, t.run(0l, 1234567890123l)); in testN3() 55 assertEquals(-2000000000l, t.run(-10000000000l, 4000000000l)); in testN4() 63 assertEquals(2000000000l, t.run(10000000000l, -4000000000l)); in testN5() 71 assertEquals(-2000000000l, t.run(-10000000000l, -4000000000l)); in testN6() 79 assertEquals(0l, t.run(Long.MIN_VALUE, -1l)); in testB1() 87 assertEquals(0l, t.run(Long.MIN_VALUE, 1l)); in testB2() 95 assertEquals(0l, t.run(Long.MAX_VALUE, 1l)); in testB3() 103 assertEquals(-1l, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/ |
D | Test_rem_int_2addr.java | 31 assertEquals(0, t.run(8, 4)); in testN1() 39 assertEquals(3, t.run(1073741823, 4)); in testN2() 47 assertEquals(0, t.run(0, 4)); in testN3() 55 assertEquals(-1, t.run(-10, 3)); in testN4() 63 assertEquals(1, t.run(1073741824, -3)); in testN5() 71 assertEquals(-697, t.run(-17895697, -3000)); in testN6() 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); in testB2() 95 assertEquals(0, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_2addr/ |
D | Test_add_int_2addr.java | 30 assertEquals(12, t.run(8, 4)); in testN1() 38 assertEquals(255, t.run(0, 255)); in testN2() 46 assertEquals(-65536, t.run(0, -65536)); in testN3() 54 assertEquals(-2147483647, t.run(0, -2147483647)); in testN4() 62 assertEquals(-2147483648, t.run(0x7ffffffe, 2)); in testN5() 70 assertEquals(0, t.run(-1, 1)); in testN6() 78 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 86 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 94 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 102 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int/ |
D | Test_add_int.java | 30 assertEquals(12, t.run(8, 4)); in testN1() 38 assertEquals(255, t.run(0, 255)); in testN2() 46 assertEquals(-65536, t.run(0, -65536)); in testN3() 54 assertEquals(-2147483647, t.run(0, -2147483647)); in testN4() 62 assertEquals(-2147483648, t.run(0x7ffffffe, 2)); in testN5() 70 assertEquals(0, t.run(-1, 1)); in testN6() 79 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 87 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 95 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long_2addr/ |
D | Test_rem_long_2addr.java | 31 assertEquals(2000000000l, t.run(10000000000l, 4000000000l)); in testN1() 39 assertEquals(123l, t.run(1234567890123l, 123456789l)); in testN2() 47 assertEquals(0l, t.run(0l, 1234567890123l)); in testN3() 55 assertEquals(-2000000000l, t.run(-10000000000l, 4000000000l)); in testN4() 63 assertEquals(2000000000l, t.run(10000000000l, -4000000000l)); in testN5() 71 assertEquals(-2000000000l, t.run(-10000000000l, -4000000000l)); in testN6() 79 assertEquals(0l, t.run(Long.MIN_VALUE, -1l)); in testB1() 87 assertEquals(0l, t.run(Long.MIN_VALUE, 1l)); in testB2() 95 assertEquals(0l, t.run(Long.MAX_VALUE, 1l)); in testB3() 103 assertEquals(-1l, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long/ |
D | Test_div_long.java | 31 assertEquals(2l, t.run(100000000000l, 40000000000l)); in testN1() 39 assertEquals(8l, t.run(98765432123456l, 12345678912345l)); in testN2() 47 assertEquals(0l, t.run(0l, 98765432123456l)); in testN3() 55 assertEquals(-8, t.run(-98765432123456l, 12345678912345l)); in testN4() 63 assertEquals(-8, t.run(98765432123456l, -12345678912345l)); in testN5() 71 assertEquals(80l, t.run(-98765432123456l, -1234567891234l)); in testN6() 79 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB1() 87 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB2() 95 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); in testB3() 103 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double/ |
D | Test_rem_double.java | 31 assertEquals(2.7d, t.run(2.7d, 3.14d)); in testN1() 39 assertEquals(0d, t.run(0, 3.14d)); in testN2() 47 assertEquals(-0.43999999999999995d, t.run(-3.14d, 2.7d)); in testN3() 55 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1() 64 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, in testB2() 73 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, -2.7d)); in testB3() 81 assertEquals(-2.7d, t.run(-2.7d, Double.NEGATIVE_INFINITY)); in testB4() 89 assertEquals(Double.NaN, t.run(0, 0)); in testB5() 97 assertEquals(0d, t.run(0, -2.7d)); in testB6() 105 assertEquals(Double.NaN, t.run(-2.7d, 0)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/ |
D | Test_add_float.java | 30 assertEquals(5.84f, t.run(2.7f, 3.14f)); in testN1() 38 assertEquals(-3.14f, t.run(0, -3.14f)); in testN2() 46 assertEquals(-5.84f, t.run(-3.14f, -2.7f)); in testN3() 54 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); in testB1() 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2() 73 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB3() 82 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB4() 91 assertEquals(+0f, t.run(+0f, -0f)); in testB5() 99 assertEquals(-0f, t.run(-0f, -0f)); in testB6() 107 assertEquals(+0f, t.run(-2.7f, 2.7f)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/ |
D | Test_add_float_2addr.java | 30 assertEquals(5.84f, t.run(2.7f, 3.14f)); in testN1() 38 assertEquals(-3.14f, t.run(0, -3.14f)); in testN2() 46 assertEquals(-5.84f, t.run(-3.14f, -2.7f)); in testN3() 54 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); in testB1() 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2() 73 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB3() 82 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB4() 91 assertEquals(+0f, t.run(+0f, -0f)); in testB5() 99 assertEquals(-0f, t.run(-0f, -0f)); in testB6() 107 assertEquals(+0f, t.run(-2.7f, 2.7f)); in testB7() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double/ |
D | Test_div_double.java | 31 assertEquals(0.8598726114649682d, t.run(2.7d, 3.14d)); in testN1() 39 assertEquals(0d, t.run(0, 3.14d)); in testN2() 48 assertEquals(-1.162962962962963d, t.run(-3.14d, 2.7d)); in testN3() 57 assertEquals(-1.162962962962963d, t.run(-3.14d, 2.7d)); in testN4() 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, in testB2() 75 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB3() 84 assertEquals(0d, t.run(-2.7d, Double.NEGATIVE_INFINITY)); in testB4() 92 assertEquals(Double.NaN, t.run(0, 0)); in testB5() 100 assertEquals(-0d, t.run(0, -2.7d)); in testB6() 108 assertEquals(Double.NEGATIVE_INFINITY, t.run(-2.7d, 0)); in testB7() [all …]
|