fixed: wrong testcase from my last commit im testmathlib.cpp
This commit is contained in:
parent
88cc29ea0a
commit
379daa3f24
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue