Updated koans from source.

This commit is contained in:
Jim Weirich
2010-09-12 21:33:11 -04:00
parent 0794235441
commit 57f0f4f178
7 changed files with 27 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '/edgecase')
# You need to write the triangle method in the file 'triangle.rb'
require 'triangle.rb'
class AboutTriangleAssignment < EdgeCase::Koan
class AboutTriangleProject < EdgeCase::Koan
def test_equilateral_triangles_have_equal_sides
assert_equal :equilateral, triangle(2, 2, 2)
assert_equal :equilateral, triangle(10, 10, 10)
@@ -22,4 +22,4 @@ class AboutTriangleAssignment < EdgeCase::Koan
assert_equal :scalene, triangle(5, 4, 2)
end
end