package alg_structs_qcheck

  1. Overview
  2. Docs

Module Alg_structs_qcheck.MonoidSource

QCheck tests of Monoid Laws

Sourcemodule Alg = Alg_structs
Sourcemodule type S = sig ... end

The Alg.Monoid.S interface extended with a way of generating arbitrary QCheck values.

Sourceval 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.

Sourceval tests : (module S) list -> QCheck.Test.t list

test implementations is a flattened list of tests generated for each implementation in implementations