mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-16 03:05:44 +03:00
2df09a428a
This formulation accounts for the fact that test vectors are chosen randomly with replacement. Fixes #461
31 lines
613 B
Plaintext
31 lines
613 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module Main
|
|
property t0 Using exhaustive testing.
|
|
testing...passed 1 tests.
|
|
Q.E.D.
|
|
property t1 Using random testing.
|
|
testing...passed 100 tests.
|
|
Expected test coverage: 0.00% (100 of 2^^32 values)
|
|
property t2 Using random testing.
|
|
testing...passed 100 tests.
|
|
Expected test coverage: 0.00% (100 of 2^^64 values)
|
|
property f0 Using exhaustive testing.
|
|
testing...f0 = False
|
|
:prove t0
|
|
Q.E.D.
|
|
:prove t1
|
|
Q.E.D.
|
|
:prove t2
|
|
Q.E.D.
|
|
:prove f0
|
|
f0 = False
|
|
:sat t0
|
|
t0 = True
|
|
:sat t1
|
|
t1 0x00000000 = True
|
|
:sat t2
|
|
t2 0xfffffffe 0xffffffff = True
|
|
:sat f0
|
|
Unsatisfiable
|