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.12 | tracks/ruby/exercises/bowling/.meta/generator/test_template.erb |