rubyx/test/parfait/test_object.rb
2017-01-18 20:09:43 +02:00

18 lines
325 B
Ruby

require_relative "../helper"
class TestObject < MiniTest::Test
def setup
@object = ::Parfait::Object.new
end
def test_empty_object_doesnt_return
assert_nil @object.get_internal_word(3)
end
def test_one_set1
assert_equal @object.get_type , @object.set_internal_word(1, @object.get_type)
end
end