Example tests check the cases you thought of. Property-based tests check the cases you did not, and that is exactly where many production bugs live. Why Example Tests Only Cover Your Imagination Most of us write tests the same way. We pick an input, compute the expected output by hand, and assert that they match. …