Sha256: 327a44be6b210d75791f8e31a5bb64280c6b755c73c0e69a6512b6e16b20998a

Contents?: true

Size: 613 Bytes

Versions: 41

Compression:

Stored size: 613 Bytes

Contents

#!/usr/bin/env ruby
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(XRUBY_LIB + '/bookkeeping.md') %>
  def test_bookkeeping
    skip
    assert_equal <%= version %>, BookKeeping::VERSION
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
trackler-2.1.0.53 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.52 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.51 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.50 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.49 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.48 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.47 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.46 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.45 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.44 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.43 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.42 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.41 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.40 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.39 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.38 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.37 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.36 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.34 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb
trackler-2.1.0.33 tracks/ruby/exercises/bowling/.meta/generator/test_template.erb