rubyx/test/risc/test_collector.rb
Torsten Ruger aa79e41d1c rename register to risc
seems to fit the layer much better as we really have a very reduced
instruction set
2017-01-19 09:02:29 +02:00

12 lines
282 B
Ruby

require_relative "../helper"
module Risc
class TestCollector < MiniTest::Test
def test_simple_collect
Machine.new.boot
objects = Risc::Collector.collect_space
assert ((350 < objects.length) or (430 > objects.length)) , objects.length.to_s
end
end
end