new test to run out of ints

This commit is contained in:
Torsten Ruger
2018-08-08 12:03:17 +03:00
parent 6200a35562
commit f5ea51c4d0
2 changed files with 18 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module Risc
end
def test_minus_neg
run_main_return "5 - 15"
assert_equal -10 , get_return
assert_equal( -10 , get_return)
end
def test_rshift
run_main_return "#{2**8} >> 3"