Module Alg_structs_qcheck.Semigroup
QCheck tests of Semigroup Laws
module Alg = Alg_structs
module type S = sig ... end
The
Alg.Semigroup.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 Semigroup Laws hold for the given implementationS
.