check the instructions that are produced in mom
This commit is contained in:
@ -23,5 +23,8 @@ module Mom
|
||||
def test_length
|
||||
assert_equal 9 , @stats.length
|
||||
end
|
||||
def test_array
|
||||
check_array [SlotConstant,TruthCheck,Label,SimpleCall,SlotConstant,Label,SimpleCall,SlotConstant,Label] , @stats
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -23,5 +23,8 @@ module Mom
|
||||
def test_length
|
||||
assert_equal 4 , @stats.length
|
||||
end
|
||||
def test_array
|
||||
check_array [Label,SlotConstant,TruthCheck,Label] , @stats
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user