rearranging tests a little

This commit is contained in:
Torsten Ruger
2015-07-19 10:54:36 +03:00
parent ac9d5eaf5a
commit 7451493193
11 changed files with 39 additions and 34 deletions

View File

@ -16,7 +16,6 @@ class TestSpace < MiniTest::Test
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_equal Parfait::Class , @machine.space.classes[name].class
assert_equal Parfait::Layout , @machine.space.classes[name].get_layout.class