D2L interview question

Develop test cases for a code sample