diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 15:30:01 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 15:30:01 -0800 |
commit | 4770d8323e2d7ce673a72db843ce1ce3afa03cd0 (patch) | |
tree | 4ea1f4638ec6d3cecc14f6fc1f0f675aef9addf4 /tests | |
parent | aa7abd7828d1618b7303ec9a49e9501daf2f78ff (diff) |
more i64 tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index 36c86bb7..b3c6835f 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -422,8 +422,8 @@ if 'benchmark' not in str(sys.argv): printf("*%Ld*\n", returner1()); printf("*%Ld*\n", returner2(30)); - int64_t maxx = -1ULL; - printf("*%Lu*\n", maxx); + uint64_t maxx = -1ULL; + printf("*%Lu*\n*%Lu*\n", maxx, maxx >> 5); // Make sure params are not modified if they shouldn't be int64_t t = 123; @@ -436,7 +436,8 @@ if 'benchmark' not in str(sys.argv): return 0; } ''' - self.do_run(src, '*1311918518731868200\n0,0,0,1,1\n1,0,1,0,1*\n*245127260211081*\n*245127260209443*\n*18446744073709552000*\n' + + self.do_run(src, '*1311918518731868200\n0,0,0,1,1\n1,0,1,0,1*\n*245127260211081*\n*245127260209443*\n' + + '*18446744073709552000*\n*576460752303423500*\n' + 'm1: 127\n*123*\n*127*\n') |