http://stackoverflow.com/questions/33524274/the-correct-way-to-write-unit-tests-for-a-module-in-ocaml
Voilà comment faire des tests et les exporter.