clean up booting
many machine boot became obsolete or just neede parfait to boot actual linker functionality pending
This commit is contained in:
@ -97,6 +97,15 @@ module Parfait
|
||||
def test_has_next_address
|
||||
assert_equal Parfait::ReturnAddress , @space.next_address.next_integer.class
|
||||
end
|
||||
def test_address_count
|
||||
addr = @space.get_address
|
||||
count = 0
|
||||
while(addr)
|
||||
count += 1
|
||||
addr = addr.next_integer
|
||||
end
|
||||
assert_equal 10, count
|
||||
end
|
||||
|
||||
def test_messages
|
||||
mess = @space.first_message
|
||||
|
@ -4,7 +4,7 @@ module Parfait
|
||||
class TestEmptyWord < ParfaitTest
|
||||
|
||||
def setup
|
||||
Risc.machine.boot
|
||||
Parfait.boot!
|
||||
@word = Parfait::Word.new(0)
|
||||
end
|
||||
def test_word_create
|
||||
|
Reference in New Issue
Block a user