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