From 48fed95942e14e8629a6101daa372595607ec300 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 16 Jul 2015 10:55:58 +0200 Subject: [PATCH] Fixed wrong test case in testother: mathfunctionCall_atan2(). --- test/testother.cpp | 66 +++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/test/testother.cpp b/test/testother.cpp index d3890a0ee..b8cdff9b6 100644 --- a/test/testother.cpp +++ b/test/testother.cpp @@ -1661,39 +1661,39 @@ private: // atan2 check("void foo()\n" "{\n" - " std::cout << atan2(1,1) << std::endl;\n" - " std::cout << atan2(-1,-1) << std::endl;\n" - " std::cout << atan2(0.1,1) << std::endl;\n" - " std::cout << atan2(0.0001,100) << std::endl;\n" - " std::cout << atan2(0.01m-1) << std::endl;\n" - " std::cout << atan2(1.0E-1,-3) << std::endl;\n" - " std::cout << atan2(-1.0E-1,+2) << std::endl;\n" - " std::cout << atan2(+1.0E-1,0) << std::endl;\n" - " std::cout << atan2(0.1E-1,3) << std::endl;\n" - " std::cout << atan2(+0.1E-1,1) << std::endl;\n" - " std::cout << atan2(-0.1E-1,8) << std::endl;\n" - " std::cout << atan2f(1,1) << std::endl;\n" - " std::cout << atan2f(-1,-1) << std::endl;\n" - " std::cout << atan2f(0.1,1) << std::endl;\n" - " std::cout << atan2f(0.0001,100) << std::endl;\n" - " std::cout << atan2f(0.01m-1) << std::endl;\n" - " std::cout << atan2f(1.0E-1,-3) << std::endl;\n" - " std::cout << atan2f(-1.0E-1,+2) << std::endl;\n" - " std::cout << atan2f(+1.0E-1,0) << std::endl;\n" - " std::cout << atan2f(0.1E-1,3) << std::endl;\n" - " std::cout << atan2f(+0.1E-1,1) << std::endl;\n" - " std::cout << atan2f(-0.1E-1,8) << std::endl;\n" - " std::cout << atan2l(1,1) << std::endl;\n" - " std::cout << atan2l(-1,-1) << std::endl;\n" - " std::cout << atan2l(0.1,1) << std::endl;\n" - " std::cout << atan2l(0.0001,100) << std::endl;\n" - " std::cout << atan2l(0.01m-1) << std::endl;\n" - " std::cout << atan2l(1.0E-1,-3) << std::endl;\n" - " std::cout << atan2l(-1.0E-1,+2) << std::endl;\n" - " std::cout << atan2l(+1.0E-1,0) << std::endl;\n" - " std::cout << atan2l(0.1E-1,3) << std::endl;\n" - " std::cout << atan2l(+0.1E-1,1) << std::endl;\n" - " std::cout << atan2l(-0.1E-1,8) << std::endl;\n" + " std::cout << atan2(1,1) ;\n" + " std::cout << atan2(-1,-1) ;\n" + " std::cout << atan2(0.1,1) ;\n" + " std::cout << atan2(0.0001,100) ;\n" + " std::cout << atan2(0.0,1e-1) ;\n" + " std::cout << atan2(1.0E-1,-3) ;\n" + " std::cout << atan2(-1.0E-1,+2) ;\n" + " std::cout << atan2(+1.0E-1,0) ;\n" + " std::cout << atan2(0.1E-1,3) ;\n" + " std::cout << atan2(+0.1E-1,1) ;\n" + " std::cout << atan2(-0.1E-1,8) ;\n" + " std::cout << atan2f(1,1) ;\n" + " std::cout << atan2f(-1,-1) ;\n" + " std::cout << atan2f(0.1,1) ;\n" + " std::cout << atan2f(0.0001,100) ;\n" + " std::cout << atan2f(0.0,1e-1) ;\n" + " std::cout << atan2f(1.0E-1,-3) ;\n" + " std::cout << atan2f(-1.0E-1,+2) ;\n" + " std::cout << atan2f(+1.0E-1,0) ;\n" + " std::cout << atan2f(0.1E-1,3) ;\n" + " std::cout << atan2f(+0.1E-1,1) ;\n" + " std::cout << atan2f(-0.1E-1,8) ;\n" + " std::cout << atan2l(1,1) ;\n" + " std::cout << atan2l(-1,-1) ;\n" + " std::cout << atan2l(0.1,1) ;\n" + " std::cout << atan2l(0.0001,100) ;\n" + " std::cout << atan2l(0.0,1e-1) ;\n" + " std::cout << atan2l(1.0E-1,-3) ;\n" + " std::cout << atan2l(-1.0E-1,+2) ;\n" + " std::cout << atan2l(+1.0E-1,0) ;\n" + " std::cout << atan2l(0.1E-1,3) ;\n" + " std::cout << atan2l(+0.1E-1,1) ;\n" + " std::cout << atan2l(-0.1E-1,8) ;\n" "}"); ASSERT_EQUALS("", errout.str());