diff options
Diffstat (limited to '')
-rw-r--r-- | src/unitnumber.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unitnumber.cpp b/src/unitnumber.cpp index d213ed7..c316d4b 100644 --- a/src/unitnumber.cpp +++ b/src/unitnumber.cpp | |||
@@ -89,6 +89,10 @@ void UnitNumber::number1() | |||
89 | mathTest("1000902491523000321", *, "3004392012498000700", | 89 | mathTest("1000902491523000321", *, "3004392012498000700", |
90 | "3007103450821050020096034077958224700"); | 90 | "3007103450821050020096034077958224700"); |
91 | 91 | ||
92 | mathTest("-4", -, "5", "-9"); | ||
93 | mathTest("-4", -, "-5", "1"); | ||
94 | mathTest("-4", +, "5", "1"); | ||
95 | mathTest("5", +, "-4", "1"); | ||
92 | mathTest("-872", +, "123", "-749"); | 96 | mathTest("-872", +, "123", "-749"); |
93 | mathTest("728", +, "-51", "677"); | 97 | mathTest("728", +, "-51", "677"); |
94 | mathTest("44", +, "-55", "-11"); | 98 | mathTest("44", +, "-55", "-11"); |