pass first test for triangleTest