remove dead code

leave circle detection for now
This commit is contained in:
Torsten Ruger
2018-04-06 20:20:39 +03:00
parent 88dbc7c84f
commit fe71ddc5ae
2 changed files with 5 additions and 18 deletions

View File

@ -54,13 +54,6 @@ module Risc
assert_equal @label , @instruction.next
assert_nil @instruction.next(2)
end
def test_replace
@instruction.append @branch
@instruction.replace_next @label
assert_equal @label, @instruction.last
assert_equal @label, @instruction.next
assert_equal 2 , @instruction.length , @instruction.to_arr
end
def test_label_is_method
label = Label.new("test" , "Object.test")
assert label.is_method