Sha256: dbe35fa71e69bc516a5a646e881055e6b168acccad517a6460856dd5b5f86dcb
Contents?: true
Size: 1.08 KB
Versions: 163
Compression:
Stored size: 1.08 KB
Contents
#!/usr/bin/env ruby gem 'minitest', '>= 5.0.0' require 'minitest/autorun' require_relative 'twelve_days' class TwelveDaysTest < Minitest::Test # This test is an acceptance test. # # If you find it difficult to work the problem with so much # output, go ahead and add a `skip`, and write whatever # unit tests will help you. Then unskip it again # to make sure you got it right. # There's no need to submit the tests you write, unless you # specifically want feedback on them. def test_the_whole_song song_file = File.expand_path('../song.txt', __FILE__) expected = IO.read(song_file) assert_equal expected, TwelveDays.song end # Problems in exercism evolve over time, # as we find better ways to ask questions. # The version number refers to the version of the problem you solved, # not your solution. # # Define a constant named VERSION inside of TwelveDays. # If you're curious, read more about constants on RubyDoc: # http://ruby-doc.org/docs/ruby-doc-bundle/UsersGuide/rg/constants.html def test_version assert_equal 2, BookKeeping::VERSION end end
Version data entries
163 entries across 163 versions & 1 rubygems