Module Stable_unit_test_intf

module Stable_unit_test_intf: sig .. end
An interface for creating unit tests to check stability of sexp and bin-io serializations


An interface for creating unit tests to check stability of sexp and bin-io serializations
module type Arg = sig .. end
module Unordered_container_test: sig .. end
Unordered container tests are for types with serializations that will contain a certain set of elements (each represented by a single sexp or bin-io string) which may appear in any order, such as hash tables and hash sets.
module type Unordered_container_arg = sig .. end

An interface for creating unit tests to check stability of sexp and bin-io serializations

tests is a list of (value, sexp-representation, bin-io-representation) triples. The ounit tests check that the type properly serializes and de-serializes according to the given representations.

Unordered container tests are for types with serializations that will contain a certain set of elements (each represented by a single sexp or bin-io string) which may appear in any order, such as hash tables and hash sets.