markov

Materials for book: "Markov Chains for programmers"

View the Project on GitHub czekster/markov

Tests

Run everything from the repository root:

make -C tests

This builds project00 and project01 with -Wall -Werror, then runs:

Simulations are random, so their tolerances are 1–2%.

Run the tests before every commit

Once per clone:

git config core.hooksPath .githooks

From then on, git commit runs the tests and aborts if any fail. In an emergency, git commit --no-verify skips them.

GitHub Actions (.github/workflows/tests.yml) runs the same tests on every push and pull request.