summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-04-30 01:50:02 +0100
committerKHobbits <rob@khobbits.co.uk>2013-04-30 01:50:02 +0100
commit049886797b1198df05c6dd72b665be2f34ce98d5 (patch)
tree2c22f68f6924fce2e9b86800a5e8b11104166e73
parenta43cbe061a97469ec43113ae9b2391acbbdbe1f4 (diff)
downloadEssentials-049886797b1198df05c6dd72b665be2f34ce98d5.tar
Essentials-049886797b1198df05c6dd72b665be2f34ce98d5.tar.gz
Essentials-049886797b1198df05c6dd72b665be2f34ce98d5.tar.lz
Essentials-049886797b1198df05c6dd72b665be2f34ce98d5.tar.xz
Essentials-049886797b1198df05c6dd72b665be2f34ce98d5.zip
Fix tests.
-rw-r--r--Essentials/test/com/earth2me/essentials/EconomyTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/test/com/earth2me/essentials/EconomyTest.java b/Essentials/test/com/earth2me/essentials/EconomyTest.java
index 219d68b40..f2d1bfcc3 100644
--- a/Essentials/test/com/earth2me/essentials/EconomyTest.java
+++ b/Essentials/test/com/earth2me/essentials/EconomyTest.java
@@ -87,8 +87,8 @@ public class EconomyTest extends TestCase
assertEquals("Format $1000", "$1000", Economy.format(1000.0));
assertEquals("Format $10", "$10", Economy.format(10.0));
assertEquals("Format $10.10", "$10.10", Economy.format(10.10));
- assertEquals("Format $10.10", "$10.10", Economy.format(10.102));
- assertEquals("Format $10.11", "$10.11", Economy.format(10.109));
+ assertEquals("Format $10.10", "$10.10", Economy.format(10.1000001));
+ assertEquals("Format $10.10", "$10.10", Economy.format(10.1099999));
//test Exceptions