diff options
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 4e550aba..d11487cf 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -159,11 +159,12 @@ class T(unittest.TestCase): { float x = 1.234, y = 3.5; y *= 3; - printf("*%d,%f,%d,%f\\n", int(y), y, (int)x, x); + int z = x < y; + printf("*%d,%d,%f,%d,%f\\n", z, int(y), y, (int)x, x); return 0; } ''' - self.do_test(src, '*10,10.5,1,1.2339') + self.do_test(src, '*1,10,10.5,1,1.2339') def test_if(self): src = ''' |