rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/IntegerArithmeticTest.java
changeset 1837 62b289bb87c7
parent 1787 ea12a3bb4b33
     1.1 --- a/rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/IntegerArithmeticTest.java	Tue Feb 24 11:12:53 2015 +0100
     1.2 +++ b/rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/IntegerArithmeticTest.java	Tue Jul 07 07:46:52 2015 +0200
     1.3 @@ -148,6 +148,18 @@
     1.4      @Compare public int negateMinInt() {
     1.5          return neg(Integer.MIN_VALUE);
     1.6      }
     1.7 +
     1.8 +    @Compare public int parseNaN() {
     1.9 +        return Integer.parseInt("nothing");
    1.10 +    }
    1.11 +
    1.12 +    @Compare public int parseAsIntNaN() {
    1.13 +        return Integer.parseInt("0.33");
    1.14 +    }
    1.15 +
    1.16 +    @Compare public double parseDoubleNaN() {
    1.17 +        return Double.parseDouble("nothing");
    1.18 +    }
    1.19      
    1.20      @Compare public int sumTwoDimensions() {
    1.21          int[][] matrix = createMatrix(4, 3);