Amazon Interview Question

asked me how to do unit test