rt/vm/src/test/java/org/apidesign/vm4brwsr/StaticMethodTest.java
changeset 1773 9830c8b761ce
parent 1473 484248c9c1d6
child 1787 ea12a3bb4b33
     1.1 --- a/rt/vm/src/test/java/org/apidesign/vm4brwsr/StaticMethodTest.java	Mon Feb 17 17:49:30 2014 +0100
     1.2 +++ b/rt/vm/src/test/java/org/apidesign/vm4brwsr/StaticMethodTest.java	Tue Jan 20 13:01:31 2015 +0100
     1.3 @@ -79,89 +79,6 @@
     1.4          );
     1.5      }
     1.6      
     1.7 -    @Test public void rintNegativeUp() throws Exception {
     1.8 -        final double cnts = -453904.634;
     1.9 -        assertExec(
    1.10 -            "Should round up to end with 5",
    1.11 -            Math.class, "rint__DD", 
    1.12 -            -453905.0, cnts
    1.13 -        );
    1.14 -    }
    1.15 -
    1.16 -    @Test public void rintNegativeDown() throws Exception {
    1.17 -        final double cnts = -453904.434;
    1.18 -        assertExec(
    1.19 -            "Should round up to end with 4",
    1.20 -            Math.class, "rint__DD", 
    1.21 -            -453904.0, cnts
    1.22 -        );
    1.23 -    }
    1.24 -
    1.25 -    @Test public void rintPositiveUp() throws Exception {
    1.26 -        final double cnts = 453904.634;
    1.27 -        assertExec(
    1.28 -            "Should round up to end with 5",
    1.29 -            Math.class, "rint__DD", 
    1.30 -            453905.0, cnts
    1.31 -        );
    1.32 -    }
    1.33 -    @Test public void rintPositiveDown() throws Exception {
    1.34 -        final double cnts = 453904.434;
    1.35 -        assertExec(
    1.36 -            "Should round up to end with 4",
    1.37 -            Math.class, "rint__DD", 
    1.38 -            453904.0, cnts
    1.39 -        );
    1.40 -    }
    1.41 -    @Test public void rintOneHalf() throws Exception {
    1.42 -        final double cnts = 1.5;
    1.43 -        assertExec(
    1.44 -            "Should round up to end with 2",
    1.45 -            Math.class, "rint__DD", 
    1.46 -            2.0, cnts
    1.47 -        );
    1.48 -    }
    1.49 -    @Test public void rintNegativeOneHalf() throws Exception {
    1.50 -        final double cnts = -1.5;
    1.51 -        assertExec(
    1.52 -            "Should round up to end with 2",
    1.53 -            Math.class, "rint__DD", 
    1.54 -            -2.0, cnts
    1.55 -        );
    1.56 -    }
    1.57 -    @Test public void rintTwoAndHalf() throws Exception {
    1.58 -        final double cnts = 2.5;
    1.59 -        assertExec(
    1.60 -            "Should round up to end with 2",
    1.61 -            Math.class, "rint__DD", 
    1.62 -            2.0, cnts
    1.63 -        );
    1.64 -    }
    1.65 -    @Test public void rintNegativeTwoOneHalf() throws Exception {
    1.66 -        final double cnts = -2.5;
    1.67 -        assertExec(
    1.68 -            "Should round up to end with 2",
    1.69 -            Math.class, "rint__DD", 
    1.70 -            -2.0, cnts
    1.71 -        );
    1.72 -    }
    1.73 -
    1.74 -    @Test public void ieeeReminder1() throws Exception {
    1.75 -        assertExec(
    1.76 -            "Same result 1",
    1.77 -            Math.class, "IEEEremainder__DDD", 
    1.78 -            Math.IEEEremainder(10.0, 4.5), 10.0, 4.5
    1.79 -        );
    1.80 -    }
    1.81 -
    1.82 -    @Test public void ieeeReminder2() throws Exception {
    1.83 -        assertExec(
    1.84 -            "Same result 1",
    1.85 -            Math.class, "IEEEremainder__DDD", 
    1.86 -            Math.IEEEremainder(Integer.MAX_VALUE, -4.5), Integer.MAX_VALUE, -4.5
    1.87 -        );
    1.88 -    }
    1.89 -
    1.90      @Test public void divAndRound() throws Exception {
    1.91          assertExec(
    1.92              "Should be rounded to one",