IBM interview question

unit testing for a simple program