2015-05-17 13:38:25 +02:00
|
|
|
require_relative "../helper"
|
|
|
|
|
|
|
|
class TestObject < MiniTest::Test
|
|
|
|
|
|
|
|
def setup
|
2015-07-20 12:01:15 +02:00
|
|
|
@object = ::Parfait::Object.new
|
2015-05-17 13:38:25 +02:00
|
|
|
end
|
|
|
|
|
2015-05-17 14:34:29 +02:00
|
|
|
def test_empty_object_doesnt_return
|
2016-12-29 17:50:10 +01:00
|
|
|
assert_nil @object.get_internal_word(3)
|
2015-05-17 13:38:25 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
def test_one_set1
|
2016-12-29 17:50:10 +01:00
|
|
|
assert_equal @object.get_type , @object.set_internal_word(1, @object.get_type)
|
2015-05-17 13:38:25 +02:00
|
|
|
end
|
2015-10-26 11:22:32 +01:00
|
|
|
|
2015-05-17 13:38:25 +02:00
|
|
|
end
|