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