minor whitespace and renaming

This commit is contained in:
Torsten Ruger
2016-12-30 18:39:49 +02:00
parent 4ef8997854
commit a82c9e8fb1
8 changed files with 37 additions and 48 deletions

View File

@ -8,7 +8,7 @@ module Ticker
machine = Register.machine.boot
do_clean_compile
Typed.compile( @input )
machine.collect
machine.collect_space
@interpreter = Register::Interpreter.new
@interpreter.start Register.machine.init
end

View File

@ -17,7 +17,7 @@ class TestPositioning < MiniTest::Test
assert_equal 32 , list.padded_length
end
def test_type
type = Parfait::Type.new Parfait.object_space.get_class_by_name(:Object)
type = Parfait::Type.for_hash Parfait.object_space.get_class_by_name(:Object) , {}
type.set_type( type )
assert_equal 32 , type.padded_length
end

View File

@ -5,8 +5,8 @@ class TypeApi < MiniTest::Test
def setup
Register.machine.boot
@space = Parfait.object_space
tc = @space.get_class_by_name( :Type )
@type = Parfait::Type.new tc
tc = @space.get_class_by_name( :NamedList )
@type = tc.instance_type
end
def test_inspect