changing factory size per factory

Before it was one class variable, but ints and messages are not created in equal amounts.
This commit is contained in:
2019-08-24 09:46:33 +03:00
parent 86b27ab319
commit 02261ad79d
10 changed files with 43 additions and 45 deletions

View File

@ -191,7 +191,7 @@ module Parfait
count += 1
addr = addr.next_integer
end
assert_equal 1014, count
assert_equal 1009, count
end
def test_message_count
mess = @space.get_next_for(:Message)
@ -201,7 +201,7 @@ module Parfait
assert mess.locals_used
mess = mess.next_message
end
assert_equal 1014, count
assert_equal 285, count
end
end