tracks/ruby/exercises/hamming/hamming_test.rb in trackler-2.1.0.0 vs tracks/ruby/exercises/hamming/hamming_test.rb in trackler-2.1.0.1
- old
+ new
@@ -1,13 +1,11 @@
#!/usr/bin/env ruby
gem 'minitest', '>= 5.0.0'
require 'minitest/autorun'
require_relative 'hamming'
-# Test data version:
-# deb225e Implement canonical dataset for scrabble-score problem (#255)
-
+# Common test data version: bb56dc7
class HammingTest < Minitest::Test
def test_identical_strands
# skip
assert_equal 0, Hamming.compute('A', 'A')
end
@@ -86,11 +84,12 @@
# questions.
# The version number refers to the version of the problem you solved,
# not your solution.
#
# Define a constant named VERSION inside of the top level BookKeeping
- # module.
- # In your file, it will look like this:
+ # module, which may be placed near the end of your file.
+ #
+ # In your file, it will look like this:
#
# module BookKeeping
# VERSION = 1 # Where the version number matches the one in the test.
# end
#