Ideas2IT interview question

I was asked to write testcase