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

@@ -7,7 +7,7 @@ require File.expand_path(File.dirname(__FILE__) + '/edgecase')
# A greed roll is scored as follows:
#
# * A set of three ones is 1000 points
#
#
# * A set of three numbers (other than ones) is worth 100 times the
# number. (e.g. three fives is 500 points).
#
@@ -33,7 +33,7 @@ def score(dice)
# You need to write this method
end
class AboutScoringAssignment < EdgeCase::Koan
class AboutScoringProject < EdgeCase::Koan
def test_score_of_an_empty_list_is_zero
assert_equal 0, score([])
end