rubyx/test/register/test_collector.rb

12 lines
292 B
Ruby
Raw Normal View History

2016-12-31 20:05:19 +01:00
require_relative "../helper"
module Register
class TestCollector < MiniTest::Test
def test_simple_collect
Machine.new.boot
objects = Register::Collector.collect_space
2017-01-03 21:42:40 +01:00
assert ((352 == objects.length) or (419 == objects.length)) , objects.length.to_s
2016-12-31 20:05:19 +01:00
end
end
end