Solutions to https://ocaml.org/problems
All solutions have inline tests defined in their file.
To run the tests for all solutions: dune runtest src
. An exit code of 0
(checked with echo $?
on the bash shell) indicates all tests passed. If any tests fail, you will see output on stderr
.