Sha256: 98e48c5bb09a222092af69f645532a63fb7a1eaaaed28a42465290f782fb7215

Contents?: true

Size: 661 Bytes

Versions: 17

Compression:

Stored size: 661 Bytes

Contents

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(EXERCISM_RUBY_LIB + '/bookkeeping.md') %>

  def test_bookkeeping
    skip
    assert_equal <%= version %>, BookKeeping::VERSION
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
trackler-2.2.1.36 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.35 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.34 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.33 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.32 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.31 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.30 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.29 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.28 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.27 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.26 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.25 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.24 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.23 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.22 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.21 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb
trackler-2.2.1.20 tracks/ruby/exercises/space-age/.meta/generator/test_template.erb