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 | 892ee13aea57e5e9eb75bf1f7b694c44130a6f2a (patch) | |
tree | 456fee39c5126748fb48e33aecdd16c835ad61a5 | |
parent | 047ef63e55a9eebe2ddae863b2e3bbed307beff8 (diff) | |
download | Essentials-892ee13aea57e5e9eb75bf1f7b694c44130a6f2a.tar Essentials-892ee13aea57e5e9eb75bf1f7b694c44130a6f2a.tar.gz Essentials-892ee13aea57e5e9eb75bf1f7b694c44130a6f2a.tar.lz Essentials-892ee13aea57e5e9eb75bf1f7b694c44130a6f2a.tar.xz Essentials-892ee13aea57e5e9eb75bf1f7b694c44130a6f2a.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 |