Week 13: Exercises

1. Tic-Tac-Toe Tests

Consider the model class for Tic-Tac-Toe that we saw in an earlier lecture. Write a set of unit tests for this class. Use pytest to run the tests.

2. Tic-Tac-Toe Coverage

Install the pytest-cov plugin and use it to measure the coverage of the tests that you wrote in the previous exercise. If you have less than 100% coverage, write additional test(s) to bring the coverage up to 100%.