Fixing scores

Signed-off-by: edgecase <github@theedgecase.com>
This commit is contained in:
Jonathan Lim
2009-01-28 05:36:31 +08:00
committed by edgecase
parent 8f9afc4b4a
commit 4b65b1f52d

View File

@@ -47,7 +47,7 @@ class AboutScoringAssignment < EdgeCase::Koan
end
def test_score_of_mulitple_1s_and_5s_is_the_sum
assert_equal 200, score([1,5,5,1])
assert_equal 300, score([1,5,5,1])
end
def test_score_of_single_2s_3s_4s_and_6s_are_zero
@@ -67,7 +67,7 @@ class AboutScoringAssignment < EdgeCase::Koan
end
def test_score_of_mixed_is_sum
assert_equal 250, score([2,5,2,2,3])
assert_equal 50, score([2,5,2,2,3])
assert_equal 550, score([5,5,5,5])
end