ruby - two-fer

This commit is contained in:
2018-09-16 15:09:23 -04:00
parent a43bafb621
commit 3eafeeb73a
3 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,20 @@
require 'minitest/autorun'
require_relative 'two_fer'
# Common test data version: 1.2.0 4fc1acb
class TwoFerTest < Minitest::Test
def test_no_name_given
# skip
assert_equal "One for you, one for me.", TwoFer.two_fer
end
def test_a_name_given
# skip
assert_equal "One for Alice, one for me.", TwoFer.two_fer("Alice")
end
def test_another_name_given
# skip
assert_equal "One for Bob, one for me.", TwoFer.two_fer("Bob")
end
end