Sha256: 822bbb2d7a98a203a4bba0111ce87397ea3440a8cd97e1f805a5b7bf450590e3
Contents?: true
Size: 661 Bytes
Versions: 142
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_test_classname %> < 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
142 entries across 142 versions & 1 rubygems