Tests aren’t just for catching regression bugs. A good test suite should also serve as documentation for…