Files
why3/examples/tests/random-test.mlw
2018-06-15 16:45:58 +02:00

14 lines
162 B
Plaintext

module Test
use random.Random
let test1 () =
init 42;
let x = random_int 10 in
init 42;
let y = random_int 10 in
assert { x = y }
end