* [gentoo-commits] gentoo-x86 commit in dev-java/jump/files: 0.5-test.patch
@ 2007-12-16 2:33 Petteri Raty (betelgeuse)
0 siblings, 0 replies; only message in thread
From: Petteri Raty (betelgeuse) @ 2007-12-16 2:33 UTC (permalink / raw
To: gentoo-commits
betelgeuse 07/12/16 02:33:18
Added: 0.5-test.patch
Log:
Add patch to fix unit tests. Fixes bug #193372. Thanks to Pierre Colot <pierre_jr_colot@hotmail.com>.
(Portage version: 2.1.4_rc9)
Revision Changes Path
1.1 dev-java/jump/files/0.5-test.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jump/files/0.5-test.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jump/files/0.5-test.patch?rev=1.1&content-type=text/plain
Index: 0.5-test.patch
===================================================================
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);
}
/**
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-16 2:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-16 2:33 [gentoo-commits] gentoo-x86 commit in dev-java/jump/files: 0.5-test.patch Petteri Raty (betelgeuse)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox