Reeksoverzicht

Python Bakery

This lesson covers how to judge a set of unit tests: representative and special cases of input, code coverage as the share of lines the tests execute, and the difference between valid and thorough tests. Students then write unit tests for functions whose implementation they cannot see, and each submission runs against the author’s genuine implementations and several impostors, so the tests must pass on every genuine version and catch every impostor.