package core
Module Core.Stable_unit_testSource
The tests generated by these functors are run like any other unit tests: by the inline test runner when the functor is applied.
See stable_unit_test_intf.ml for documentation regarding the argument module types.
We provide separate access to sexp serialization and deserialization tests because some stable types will have varying sexp serializations. Notably, Time.sexp_of_t depends on the local timezone. For such types it is still important to check that all the sexps can be deserialized correctly.
See stable_unit_test_intf.ml for documentation.
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.