summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2014-10-31 13:39:52 -0600
committerMike Buland <mike@xagasoft.com>2014-10-31 13:39:52 -0600
commit55e8d5a372793f6fb7b6f1a6f42396d6115bcf9b (patch)
tree4d6e169400d4dbde72d291762d8af1b3884c3edc /src
parent9e204039f0b310bdb101063bbfb82b9a9fb5d5e0 (diff)
downloadclic-55e8d5a372793f6fb7b6f1a6f42396d6115bcf9b.tar.gz
clic-55e8d5a372793f6fb7b6f1a6f42396d6115bcf9b.tar.bz2
clic-55e8d5a372793f6fb7b6f1a6f42396d6115bcf9b.tar.xz
clic-55e8d5a372793f6fb7b6f1a6f42396d6115bcf9b.zip
Added more tests, keep everything on the up and up
Diffstat (limited to 'src')
-rw-r--r--src/unitnumber.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unitnumber.cpp b/src/unitnumber.cpp
index 4846a07..c7b85b9 100644
--- a/src/unitnumber.cpp
+++ b/src/unitnumber.cpp
@@ -74,6 +74,7 @@ void UnitNumber::divide1()
74{ 74{
75 unitTest(Number("4") / Number("10") == "0"); 75 unitTest(Number("4") / Number("10") == "0");
76 unitTest(Number("4") % Number("10") == "4"); 76 unitTest(Number("4") % Number("10") == "4");
77 unitTest(Number("200") / Number("2") == "100");
77} 78}
78 79
79#define mathTest( anum, op, bnum, answ ) \ 80#define mathTest( anum, op, bnum, answ ) \