summaryrefslogtreecommitdiff
blob: 796d0d022dd09ca4c953341feb209dada5934b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur jump-0.5.vanilla/src/tests/org/znerd/math/tests/NumberCentralTests.java jump-0.5/src/tests/org/znerd/math/tests/NumberCentralTests.java
--- jump-0.5.vanilla/src/tests/org/znerd/math/tests/NumberCentralTests.java	2007-10-10 00:27:47.000000000 +0200
+++ jump-0.5/src/tests/org/znerd/math/tests/NumberCentralTests.java	2007-10-10 00:28:38.000000000 +0200
@@ -220,8 +220,8 @@
       assertEquals(ONE_HALF,         NumberCentral.valueOf( 0.5));
       assertEquals(ONE,              NumberCentral.valueOf( 1.0));
       assertEquals(TWO,              NumberCentral.valueOf( 2.0));
-      assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MIN_VALUE).doubleValue(), 0.0);
-      assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MAX_VALUE).doubleValue(), 0.0);
+      assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MIN_VALUE).doubleValue(), Double.MIN_VALUE);
+      assertEquals(Double.MAX_VALUE, NumberCentral.valueOf(Double.MAX_VALUE).doubleValue(), Double.MIN_VALUE);
    }
 
    /**