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