Depending on your editor and its configuration, you probably now see some “Unbound module” errors about OUnit2 and Sum. Don’t worry; the code is actually correct. We just need to set up dune and tell it to link OUnit. Create a dune file and put this in it:
I don't know if this was mentioned in previous chapters but on windows I actually needed to install ounit2 with opam first...