fixed all tests in triangle_spec.rb