From 18a2be05bfacddcb7398f1b197bd1a5876c9a0cb Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 26 Sep 2014 15:54:06 -0600 Subject: Added tests that fail for division. We need a new division routine. --- src/unitnumber.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/unitnumber.cpp b/src/unitnumber.cpp index 6e1a7c8..1d63682 100644 --- a/src/unitnumber.cpp +++ b/src/unitnumber.cpp @@ -300,7 +300,8 @@ void UnitNumber::fraction1() mathTestS( 8, "12", /, "4", "3" ); mathTestS( 100, "9", /, "1.9", "4.7368421052631578947368421052631578947368421052631578947368421052631578947368421052631578947368421052" ); - mathTestS( 10, "1", /, "17", "0.0588235294" ); - mathTestS( 10, "1", /, "177", "0.0056497175" ); + mathTestS( 10, "1", /, "17", "0.0588235294" ); + mathTestS( 10, "1", /, "177", "0.0056497175" ); + mathTestS( 10, "1", /, "177.1", "0.0056465273" ); } -- cgit v1.2.3