rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/IntegerArithmeticTest.java
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 Jan 17 07:04:06 2017 +0100
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);