mathlib: added todo testcases for ticket #2200
This commit is contained in:
parent
29bb553782
commit
88cc29ea0a
|
@ -68,6 +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"));
|
||||
|
||||
// divide
|
||||
ASSERT_EQUALS("1" , MathLib::divide("1", "1"));
|
||||
|
|
|
@ -789,6 +789,12 @@ private:
|
|||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
|
||||
check("void foo()\n"
|
||||
"{\n"
|
||||
" std::cout << log(2.0) << std::endl;\n"
|
||||
"}");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
|
||||
// acos
|
||||
check("void foo()\n"
|
||||
|
|
Loading…
Reference in New Issue