minors
This commit is contained in:
@ -12,13 +12,14 @@ class TestSpace < MiniTest::Test
|
||||
def test_machine_space
|
||||
assert_equal Parfait::Space , @machine.space.class
|
||||
end
|
||||
def test_gloabl_space
|
||||
def test_global_space
|
||||
assert_equal Parfait::Space , Parfait::Space.object_space.class
|
||||
end
|
||||
def test_classes
|
||||
assert_equal 16 , @machine.space.classes.length
|
||||
[:Kernel,:Word,:List,:Message,:Frame,:Layout,:Class,:Dictionary,:Method].each do |name|
|
||||
assert @machine.space.classes[name]
|
||||
assert_equal Parfait::Class , @machine.space.classes[name].class
|
||||
assert_equal Parfait::Layout , @machine.space.classes[name].get_layout.class
|
||||
end
|
||||
end
|
||||
def test_messages
|
||||
|
@ -33,7 +33,7 @@ HERE
|
||||
|
||||
def test_string_put
|
||||
@string_input = <<HERE
|
||||
"Hello".putstring()
|
||||
"Hello again\n".putstring()
|
||||
HERE
|
||||
check
|
||||
end
|
||||
|
Reference in New Issue
Block a user