Module Alg_structs_qcheck.Monoid
QCheck tests of Monoid Laws
module Alg = Alg_structs
module type S = sig ... end
The
Alg.Monoid.S
interface extended with a way of generating arbitraryQCheck
values.
val test : (module S) -> QCheck.Test.t list
test impl_name (module S)
is a list ofQCheck
property based tests that check whether the Monoid Laws hold for the given implementationS
.