Sha256: 80e728e81dd8ac561c36764b810b2a0f08ea35ddfe9d98d5e50160730858eb3e
Contents?: true
Size: 1.06 KB
Versions: 45
Compression:
Stored size: 1.06 KB
Contents
#!/usr/bin/env ruby 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
45 entries across 45 versions & 1 rubygems