mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-21 01:03:20 -04:00
Normalized file name and koan category name.
This commit is contained in:
@@ -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).
|
||||
#
|
||||
@@ -54,7 +54,7 @@ def score(dice)
|
||||
#++
|
||||
end
|
||||
|
||||
class AboutScoringAssignment < EdgeCase::Koan
|
||||
class AboutScoringProject < EdgeCase::Koan
|
||||
def test_score_of_an_empty_list_is_zero
|
||||
assert_equal 0, score([])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user