Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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 arbitrary QCheck
values.
val test : (module S) -> QCheck.Test.t list
test impl_name (module S)
is a list of QCheck
property based tests that check whether the Monoid Laws hold for the given implementation S
.
val tests : (module S) list -> QCheck.Test.t list
test implementations
is a flattened list of test
s generated for each implementation in implementations