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.53 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.52 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.51 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.50 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.49 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.48 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.47 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.46 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.45 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.44 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.43 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.42 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.41 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.40 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.39 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.38 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.37 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.36 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.34 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.1.0.33 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb