remove duplicate tests

This commit is contained in:
Torsten Ruger
2018-03-15 20:51:46 +05:30
parent ad4690d719
commit 4a79d20a40
14 changed files with 185 additions and 380 deletions

View File

@ -6,7 +6,7 @@ module Vool
def setup
Risc.machine.boot
@stats = compile_first_method( "arg.mod4").first
@stats = compile_first_method_flat( "a = 5; a.mod4")
@first, @second , @third ,@fourth= @stats[0],@stats[1],@stats[2],@stats[3]
end
@ -50,5 +50,9 @@ module Vool
assert_equal Mom::DynamicCall , @fourth.class , @fourth.to_rxf
end
def test_array
check_array [SlotConstant,NotSameCheck,Label,SlotMove,MessageSetup,ArgumentTransfer,SimpleCall,SlotMove,Label,MessageSetup,ArgumentTransfer,DynamicCall] , @stats
end
end
end