rubyx/test/risc/builtin/test_plus.rb
Torsten Ruger a98d7630fb start testing builtin seperately
in terms of output only
2018-04-19 19:47:35 +03:00

20 lines
351 B
Ruby

require_relative "helper"
module Risc
module Builtin
class PlusTest < BuiltinTest
def main
"return 5 + 5"
end
def test_add
#show_main_ticks # get output of what is
run_all
assert_equal Parfait::Integer , get_return.class
assert_equal 10 , get_return.value
end
end
end
end