cryptol/tests/issues/issue364.cry
Rob Dockins 234437af06 Remove our dependency on the random package.
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
2021-04-07 12:12:32 -07:00

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]))