2018-04-26 11:31:37 +02:00
|
|
|
require_relative "helper"
|
2015-05-17 13:38:25 +02:00
|
|
|
|
2018-04-26 11:31:37 +02:00
|
|
|
module Parfait
|
|
|
|
class TestObject < ParfaitTest
|
2015-05-17 13:38:25 +02:00
|
|
|
|
2018-04-26 11:31:37 +02:00
|
|
|
def setup
|
|
|
|
super
|
|
|
|
@object = ::Parfait::Object.new
|
|
|
|
end
|
2015-05-17 13:38:25 +02:00
|
|
|
|
2018-04-26 11:31:37 +02:00
|
|
|
def test_empty_object_doesnt_return
|
|
|
|
assert_nil @object.get_internal_word(3)
|
|
|
|
end
|
2015-05-17 13:38:25 +02:00
|
|
|
|
2018-04-26 11:31:37 +02:00
|
|
|
def test_one_set1
|
|
|
|
assert_equal @object.get_type , @object.set_internal_word(1, @object.get_type)
|
|
|
|
end
|
2015-10-26 11:22:32 +01:00
|
|
|
|
2018-04-26 11:31:37 +02:00
|
|
|
end
|
2015-05-17 13:38:25 +02:00
|
|
|
end
|