diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-31 11:06:14 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-31 11:06:14 -0800 |
commit | c326a24f775f4fda03c6a59f62759c5c7dfa4baa (patch) | |
tree | 08991ea26773ae054d99ec9d500dcd2d4996478c /tests | |
parent | 5c35062c0096625f4d7004e243164de79388bedd (diff) |
make sure rand() returns values only up to RAND_MAX; #18551.10.1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_core.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 90453ae2..4d915e71 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -3565,26 +3565,26 @@ int main() return 0; } ''' - expected = '''-73943336 --1417355489 --782256216 --810259121 + expected = '''2073540312 +730128159 +1365227432 +1337224527 792390264 --194827905 --1163489464 --164637777 --936909288 --667866145 --73943336 --1417355489 --782256216 --810259121 +1952655743 +983994184 +1982845871 +1210574360 +1479617503 +2073540312 +730128159 +1365227432 +1337224527 792390264 --194827905 --1163489464 --164637777 --936909288 --667866145 +1952655743 +983994184 +1982845871 +1210574360 +1479617503 ''' self.do_run(src, expected) |