replace add_new_int in most builtins
in integer and word mainly, replaced with allocate_int (tests pending as syscalls are undone)
This commit is contained in:
@ -7,7 +7,12 @@ module Parfait
|
||||
super
|
||||
@int = Integer.new(10)
|
||||
end
|
||||
|
||||
def test_index
|
||||
assert_equal 2 , Integer.integer_index
|
||||
end
|
||||
def test_next_index
|
||||
assert_equal 1 , Integer.next_index
|
||||
end
|
||||
def test_class
|
||||
assert_equal :Integer, @int.get_type.object_class.name
|
||||
end
|
||||
|
Reference in New Issue
Block a user