1input
the ipo test lab
the receiver sees four numbers. give it a rule, name the expected output, and you have a test.
sensor case
keys: 1–4 choose a case
2processing
classify(r, g, b, c)
if c < min light → off
if lead < min lead → uncertain
else → strongest channel
3output
actual
red
expected
✓pass
(203, 41, 57, 310) → red
change the input or the rule. the test follows.
clear input plus expected output equals a test.