cryptol/tests/issues/issue364.icry.stdout
Rob Dockins 2df09a428a Change how test coverage statistics are computed.
This formulation accounts for the fact that test vectors
are chosen randomly with replacement.

Fixes #461
2017-10-03 17:37:48 -07:00

29 lines
750 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module Main
property x_eval Using exhaustive testing.
testing...passed 1 tests.
Q.E.D.
property x_distinct Using exhaustive testing.
testing...passed 1 tests.
Q.E.D.
property moderately_bogus_property Using random testing.
testing...passed 100 tests.
Expected test coverage: 32.39% (83 of 256 values)
property x_eval Using exhaustive testing.
testing...passed 1 tests.
Q.E.D.
property x_distinct Using exhaustive testing.
testing...passed 1 tests.
Q.E.D.
property moderately_bogus_property Using exhaustive testing.
testing...passed 256 tests.
Q.E.D.
:prove x_eval
Q.E.D.
:prove x_distinct
Q.E.D.
:prove moderately_bogus_property
Run-time error: cannot evaluate 'random' with symbolic inputs