rubyx/test/parfait/test_object.rb
Torsten Ruger ab01fa3862 switch to 0 based indexing
the world rocked for a moment (and more fixes to follow)
also the crumbling of idealism was heard
2018-05-14 11:55:01 +03:00

21 lines
371 B
Ruby

require_relative "helper"
module Parfait
class TestObject < ParfaitTest
def setup
super
@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(0, @object.get_type)
end
end
end