Adding actual test code for showing a triangle