Sha256: 18eeb923d4539d397d4744945c8b878a9d7851ae10aa22c5ae64425a4e918b05
Contents?: true
Size: 704 Bytes
Versions: 159
Compression:
Stored size: 704 Bytes
Contents
require 'minitest/autorun' require_relative 'leap' # Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %> class Date def leap? raise RuntimeError, "Implement this yourself instead of using Ruby's implementation." end alias gregorian_leap? leap? alias julian_leap? leap? end class YearTest < Minitest::Test <% test_cases.each_with_index do |test_case, idx| %> def <%= test_case.name %> <%= test_case.skipped(idx) %> <%= test_case.workload %>, "<%= test_case.failure_message %>" end <% end %> <%= IO.read(EXERCISM_RUBY_LIB + '/bookkeeping.md') %> def test_bookkeeping skip assert_equal <%= version %>, BookKeeping::VERSION end end
Version data entries
159 entries across 159 versions & 1 rubygems