07 Mission Instructions
Your mission is to create a robot that counts how many times the lights are turned off and on each day for later analysis.
8. Test
As always, before we test, we need to create a test plan. We want to test both the obvious behavior (if I turn the lights on three times, does the LED blink 3 times?) as well as the edge cases.
Including the edge cases means checking what happens at the very smallest and largest possible outcomes. What if you don’t turn the lights on at all? What if you flick them on and off really fast and many times? Which of these cases is the most important for your program to get right?
Create your test plan and then test!