aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 28f136ca..1149bfd9 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -153,11 +153,11 @@ class T(unittest.TestCase):
#include <cmath>
int main()
{
- printf("*%f\\n", M_PI);
+ printf("*%.2f,%.2f*\\n", M_PI, -M_PI);
return 0;
}
'''
- self.do_test(src, '*3.14159')
+ self.do_test(src, '*3.14,-3.14*')
def test_if(self):
src = '''