@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user