You build a million drawers. Some are flawed. You then see if the machine that tests drawers (MTTD) can test these correctly. See US TSA guidelines for ideas.
Alternatively, for extra credit, you build a machine that tests drawer-testing machines (MTTDTM). This has a set of test drawers, precisely calibrated, on which the MTTD runs. You can use autoconf or the perl test suite as starting points.
(Man, if I had known I was this smart, I would not be hanging around LWN).
--
Sanjeev "What has Linus done for me recently?" Gupta