rubyx/test/mains/test_adds.rb
Torsten Ruger 563ed4647a extract the ruby from mains tests
move up in directory
in preparation for arm tests
2018-06-24 11:56:10 +03:00

20 lines
362 B
Ruby

require_relative 'helper'
module Mains
class TestAdds < MainsTest
def test_ruby_adds
run_main_file "adds"
assert_equal 10 , get_return
end
def test_ruby_subs
run_main_file "subs"
assert_equal 0 , get_return
end
def test_ruby_adds_fibo
run_main_file "fibo"
assert_equal 8 , get_return
end
end
end