Sha256: cf2c4e85f5799d0670169145852bf8770bae6a3717fecd4ed6fb835af88300fc
Contents?: true
Size: 601 Bytes
Versions: 159
Compression:
Stored size: 601 Bytes
Contents
require 'minitest/autorun' require_relative 'bowling' # Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %> class BowlingTest < Minitest::Test def setup @game = Game.new end def record(rolls) rolls.each { |pins| @game.roll(pins) } end <% test_cases.each_with_index do |test_case, idx| %> def <%= test_case.name %> <%= test_case.skipped(idx) %> <%= test_case.workload %> end <% end %> <%= IO.read(EXERCISM_RUBY_LIB + '/bookkeeping.md') %> def test_bookkeeping skip assert_equal <%= version %>, BookKeeping::VERSION end end
Version data entries
159 entries across 159 versions & 1 rubygems