Sha256: b2a16d069b53a4f8c5a926c607d4ffd398e6e8989df2e0064156e22f4a6f03fb

Contents?: true

Size: 673 Bytes

Versions: 36

Compression:

Stored size: 673 Bytes

Contents

#!/usr/bin/env ruby
require 'minitest/autorun'
require_relative '<%= exercise_name %>'

# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_name_camel %>Test < Minitest::Test
  # assert_in_delta will pass if the difference
  # between the values being compared is less
  # than the allowed delta
  DELTA = 0.01

<% 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

36 entries across 36 versions & 1 rubygems

Version Path
trackler-2.1.0.32 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.31 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.30 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.29 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.28 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.27 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.26 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.25 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.24 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.23 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.22 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.21 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.20 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.19 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.18 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.17 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb