KCG interview question

Unit test in programming