Add more test cases for the triangle exercises