1 |
betelgeuse 07/12/16 02:33:18 |
2 |
|
3 |
Added: 0.5-test.patch |
4 |
Log: |
5 |
Add patch to fix unit tests. Fixes bug #193372. Thanks to Pierre Colot <pierre_jr_colot@×××××××.com>. |
6 |
(Portage version: 2.1.4_rc9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-java/jump/files/0.5-test.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jump/files/0.5-test.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jump/files/0.5-test.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 0.5-test.patch |
15 |
=================================================================== |
16 |
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 |
17 |
--- jump-0.5.vanilla/src/tests/org/znerd/math/tests/NumberCentralTests.java 2007-10-10 00:27:47.000000000 +0200 |
18 |
+++ jump-0.5/src/tests/org/znerd/math/tests/NumberCentralTests.java 2007-10-10 00:28:38.000000000 +0200 |
19 |
@@ -220,8 +220,8 @@ |
20 |
assertEquals(ONE_HALF, NumberCentral.valueOf( 0.5)); |
21 |
assertEquals(ONE, NumberCentral.valueOf( 1.0)); |
22 |
assertEquals(TWO, NumberCentral.valueOf( 2.0)); |
23 |
- assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MIN_VALUE).doubleValue(), 0.0); |
24 |
- assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MAX_VALUE).doubleValue(), 0.0); |
25 |
+ assertEquals(Double.MIN_VALUE, NumberCentral.valueOf(Double.MIN_VALUE).doubleValue(), Double.MIN_VALUE); |
26 |
+ assertEquals(Double.MAX_VALUE, NumberCentral.valueOf(Double.MAX_VALUE).doubleValue(), Double.MIN_VALUE); |
27 |
} |
28 |
|
29 |
/** |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
gentoo-commits@g.o mailing list |