package alg_structs_qcheck

  1. Overview
  2. Docs

Module Alg_structs_qcheck.FunctorSource

QCheck tests of Functor Laws

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

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

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

test (module F) is a list of QCheck property based tests that checks whether the Functor Laws hold for the given implementation F.

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

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