more renaming of frame
This commit is contained in:
@ -3,17 +3,17 @@ require_relative "../helper"
|
||||
class TestNamedLists < MiniTest::Test
|
||||
|
||||
def setup
|
||||
@frame = Register.machine.boot.space.first_message.frame
|
||||
@type = @frame.get_type
|
||||
@named_list = Register.machine.boot.space.first_message.named_list
|
||||
@type = @named_list.get_type
|
||||
end
|
||||
|
||||
def test_frame_get_type
|
||||
def test_named_list_get_type
|
||||
assert_equal Parfait::Type , @type.class
|
||||
end
|
||||
|
||||
def test_frame_next_set
|
||||
@frame.next_list = :next_list
|
||||
assert_equal :next_list , @frame.next_list
|
||||
def test_named_list_next_set
|
||||
@named_list.next_list = :next_list
|
||||
assert_equal :next_list , @named_list.next_list
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -60,7 +60,7 @@ class TestSpace < MiniTest::Test
|
||||
all = []
|
||||
while mess
|
||||
all << mess
|
||||
assert mess.frame
|
||||
assert mess.named_list
|
||||
mess = mess.next_message
|
||||
end
|
||||
assert_equal all.length , all.uniq.length
|
||||
|
Reference in New Issue
Block a user