moving from collect to each

when iterating over tree.
Much cleaner, less hokuspukus methods that are noops

Mom is coming back out, but not linked yet
This commit is contained in:
Torsten Ruger
2018-03-15 17:22:56 +05:30
parent 3702411043
commit 3247c2036c
10 changed files with 37 additions and 35 deletions

View File

@ -5,10 +5,10 @@ module Vool
assert Array != @stats.class , @stats
end
def test_class_compiles
assert_equal Mom::MessageSetup , @stats.first.class , @stats
assert_equal Mom::MessageSetup , @stats.class , @stats
end
def test_two_instructions_are_returned
assert_equal 3 , @stats.length
assert_equal 3 , @stats.length , @stats.to_rxf
end
def test_receiver_move_class
assert_equal Mom::ArgumentTransfer, @stats[1].class