Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added [1,1,3] case for triangles.

  • Loading branch information...
commit 6c69bcb0ef2d682822d34841e87c3233324352e5 1 parent 6052c77
Jim Weirich jimweirich authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/about_triangle_project_2.rb
1  src/about_triangle_project_2.rb
View
@@ -9,6 +9,7 @@ class AboutTriangleAssignment2 < EdgeCase::Koan
def test_illegal_triangles_throw_exceptions
assert_raise(TriangleError) do triangle(0, 0, 0) end
assert_raise(TriangleError) do triangle(3, 4, -5) end
+ assert_raise(TriangleError) do triangle(1, 1, 3) end
assert_raise(TriangleError) do triangle(2, 4, 2) end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.