Fixed wrong test case in testother: mathfunctionCall_atan2().
This commit is contained in:
parent
1d910bc3bc
commit
48fed95942
|
@ -1661,39 +1661,39 @@ private:
|
||||||
// atan2
|
// atan2
|
||||||
check("void foo()\n"
|
check("void foo()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" std::cout << atan2(1,1) << std::endl;\n"
|
" std::cout << atan2(1,1) ;\n"
|
||||||
" std::cout << atan2(-1,-1) << std::endl;\n"
|
" std::cout << atan2(-1,-1) ;\n"
|
||||||
" std::cout << atan2(0.1,1) << std::endl;\n"
|
" std::cout << atan2(0.1,1) ;\n"
|
||||||
" std::cout << atan2(0.0001,100) << std::endl;\n"
|
" std::cout << atan2(0.0001,100) ;\n"
|
||||||
" std::cout << atan2(0.01m-1) << std::endl;\n"
|
" std::cout << atan2(0.0,1e-1) ;\n"
|
||||||
" std::cout << atan2(1.0E-1,-3) << std::endl;\n"
|
" std::cout << atan2(1.0E-1,-3) ;\n"
|
||||||
" std::cout << atan2(-1.0E-1,+2) << std::endl;\n"
|
" std::cout << atan2(-1.0E-1,+2) ;\n"
|
||||||
" std::cout << atan2(+1.0E-1,0) << std::endl;\n"
|
" std::cout << atan2(+1.0E-1,0) ;\n"
|
||||||
" std::cout << atan2(0.1E-1,3) << std::endl;\n"
|
" std::cout << atan2(0.1E-1,3) ;\n"
|
||||||
" std::cout << atan2(+0.1E-1,1) << std::endl;\n"
|
" std::cout << atan2(+0.1E-1,1) ;\n"
|
||||||
" std::cout << atan2(-0.1E-1,8) << std::endl;\n"
|
" std::cout << atan2(-0.1E-1,8) ;\n"
|
||||||
" std::cout << atan2f(1,1) << std::endl;\n"
|
" std::cout << atan2f(1,1) ;\n"
|
||||||
" std::cout << atan2f(-1,-1) << std::endl;\n"
|
" std::cout << atan2f(-1,-1) ;\n"
|
||||||
" std::cout << atan2f(0.1,1) << std::endl;\n"
|
" std::cout << atan2f(0.1,1) ;\n"
|
||||||
" std::cout << atan2f(0.0001,100) << std::endl;\n"
|
" std::cout << atan2f(0.0001,100) ;\n"
|
||||||
" std::cout << atan2f(0.01m-1) << std::endl;\n"
|
" std::cout << atan2f(0.0,1e-1) ;\n"
|
||||||
" std::cout << atan2f(1.0E-1,-3) << std::endl;\n"
|
" std::cout << atan2f(1.0E-1,-3) ;\n"
|
||||||
" std::cout << atan2f(-1.0E-1,+2) << std::endl;\n"
|
" std::cout << atan2f(-1.0E-1,+2) ;\n"
|
||||||
" std::cout << atan2f(+1.0E-1,0) << std::endl;\n"
|
" std::cout << atan2f(+1.0E-1,0) ;\n"
|
||||||
" std::cout << atan2f(0.1E-1,3) << std::endl;\n"
|
" std::cout << atan2f(0.1E-1,3) ;\n"
|
||||||
" std::cout << atan2f(+0.1E-1,1) << std::endl;\n"
|
" std::cout << atan2f(+0.1E-1,1) ;\n"
|
||||||
" std::cout << atan2f(-0.1E-1,8) << std::endl;\n"
|
" std::cout << atan2f(-0.1E-1,8) ;\n"
|
||||||
" std::cout << atan2l(1,1) << std::endl;\n"
|
" std::cout << atan2l(1,1) ;\n"
|
||||||
" std::cout << atan2l(-1,-1) << std::endl;\n"
|
" std::cout << atan2l(-1,-1) ;\n"
|
||||||
" std::cout << atan2l(0.1,1) << std::endl;\n"
|
" std::cout << atan2l(0.1,1) ;\n"
|
||||||
" std::cout << atan2l(0.0001,100) << std::endl;\n"
|
" std::cout << atan2l(0.0001,100) ;\n"
|
||||||
" std::cout << atan2l(0.01m-1) << std::endl;\n"
|
" std::cout << atan2l(0.0,1e-1) ;\n"
|
||||||
" std::cout << atan2l(1.0E-1,-3) << std::endl;\n"
|
" std::cout << atan2l(1.0E-1,-3) ;\n"
|
||||||
" std::cout << atan2l(-1.0E-1,+2) << std::endl;\n"
|
" std::cout << atan2l(-1.0E-1,+2) ;\n"
|
||||||
" std::cout << atan2l(+1.0E-1,0) << std::endl;\n"
|
" std::cout << atan2l(+1.0E-1,0) ;\n"
|
||||||
" std::cout << atan2l(0.1E-1,3) << std::endl;\n"
|
" std::cout << atan2l(0.1E-1,3) ;\n"
|
||||||
" std::cout << atan2l(+0.1E-1,1) << std::endl;\n"
|
" std::cout << atan2l(+0.1E-1,1) ;\n"
|
||||||
" std::cout << atan2l(-0.1E-1,8) << std::endl;\n"
|
" std::cout << atan2l(-0.1E-1,8) ;\n"
|
||||||
"}");
|
"}");
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue