rubyx/test/risc/test_collector.rb

12 lines
282 B
Ruby
Raw Normal View History

2016-12-31 20:05:19 +01:00
require_relative "../helper"
module Risc
2016-12-31 20:05:19 +01:00
class TestCollector < MiniTest::Test
def test_simple_collect
Machine.new.boot
objects = Risc::Collector.collect_space
2017-01-14 18:52:16 +01:00
assert ((350 < objects.length) or (430 > objects.length)) , objects.length.to_s
2016-12-31 20:05:19 +01:00
end
end
end