mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-29 10:53:31 +03:00
234437af06
Instead, directly use the generators defined in `tf-random`. This changes the generation algorithm for some types, so we need to update the tests that depend on those concrete values. Fixes #1102
12 lines
216 B
Plaintext
12 lines
216 B
Plaintext
x : [64]
|
|
x = random 123
|
|
|
|
x_val : [64]
|
|
x_val = 0xe4f7c1740def67df
|
|
|
|
property x_eval = x == x_val
|
|
property x_distinct = ~ (x == zero)
|
|
|
|
property moderately_bogus_property (seed:[8]) =
|
|
~(random (zero#seed) == (0:[64]))
|