diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-04-30 01:50:02 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-04-30 01:50:02 +0100 |
commit | 049886797b1198df05c6dd72b665be2f34ce98d5 (patch) | |
tree | 2c22f68f6924fce2e9b86800a5e8b11104166e73 | |
parent | a43cbe061a97469ec43113ae9b2391acbbdbe1f4 (diff) | |
download | Essentials-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.java | 4 |
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 |