aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-10 14:30:17 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-10 14:30:17 -0700
commitb3bcc62d158041675745d2994f28f9871da00bb9 (patch)
treef6a55c3042345f079b0ce72a72725cd6a50f0c78 /tests
parentea94dbe3b70f0772180463f412382d8abd02915a (diff)
better autodebugger support for floats
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index f90e349a..990bc8ea 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3353,7 +3353,8 @@ if 'benchmark' not in str(sys.argv):
cache[10] = 25;
next[20] = 51;
int x = cache[10];
- printf("*%d,%d*\\n", x, cache[20]);
+ double y = 11.52;
+ printf("*%d,%d,%.2f*\\n", x, cache[20], y);
return 0;
}
'''