Adobe interview question

Triangle problem - write test cases