From 379daa3f24135ecf9cca3c6019674403f65118b4 Mon Sep 17 00:00:00 2001 From: Ettl Martin Date: Mon, 15 Nov 2010 22:12:25 +0100 Subject: [PATCH] fixed: wrong testcase from my last commit im testmathlib.cpp --- test/testmathlib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testmathlib.cpp b/test/testmathlib.cpp index 256d6e686..55908f432 100644 --- a/test/testmathlib.cpp +++ b/test/testmathlib.cpp @@ -68,8 +68,8 @@ private: ASSERT_EQUALS("-3000" , MathLib::multiply("-1.0E+3", "3")); ASSERT_EQUALS("0" , MathLib::multiply("-1.0E+3", "0")); ASSERT_EQUALS("0" , MathLib::multiply("+1.0E+3", "0")); - TODO_ASSERT_EQUALS("2147483648" , MathLib::multiply("2","1024*1024*1024")); - TODO_ASSERT_EQUALS("536870912" , MathLib::multiply("512","1024*1024")); + TODO_ASSERT_EQUALS("2147483648" , MathLib::multiply("2","1073741824")); + ASSERT_EQUALS("536870912" , MathLib::multiply("512","1048576")); // divide ASSERT_EQUALS("1" , MathLib::divide("1", "1"));