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

Version Path
trackler-2.2.1.180 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.179 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.178 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.177 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.176 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.175 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.174 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.173 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.172 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.171 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.170 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.169 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.167 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.166 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.165 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.164 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.163 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.162 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.161 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.2.1.160 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb