Last active
December 28, 2015 10:59
-
-
Save trepidity/7490675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative "simple_number" | |
require "test/unit" | |
class TestSimpleNumber < Test::Unit::TestCase | |
def test_simple | |
assert_equal(4, SimpleNumber.new(2).add(2) ) | |
assert_equal(6, SimpleNumber.new(2).multiply(3) ) | |
assert_equal(3, SimpleNumber.new(6).devide(2) ) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment