rubyx/test/parfait/test_object.rb

21 lines
371 B
Ruby
Raw Normal View History

2018-04-26 11:31:37 +02:00
require_relative "helper"
2018-04-26 11:31:37 +02:00
module Parfait
class TestObject < ParfaitTest
2018-04-26 11:31:37 +02:00
def setup
super
@object = ::Parfait::Object.new
end
2018-04-26 11:31:37 +02:00
def test_empty_object_doesnt_return
assert_nil @object.get_internal_word(3)
end
2018-04-26 11:31:37 +02:00
def test_one_set1
assert_equal @object.get_type , @object.set_internal_word(0, @object.get_type)
2018-04-26 11:31:37 +02:00
end
2018-04-26 11:31:37 +02:00
end
end