Adobe Interview Question

Triangle problem - write test cases