Test the boundary cases and invariants that would silently break if the rule were misunderstood.
Good tests preserve the real behavior the lesson is trying to make explicit. Connect the idea to a realistic coding decision so recall is easier when solving similar questions.
Additional Notes
What testing lens fits iterator protocol?
Track: Python
Topic: Iterators and Generators
Focus: Iterator Protocol
Topics:Iterator ProtocolIterators and GeneratorsPython