2019-09-13 19:34:41 +02:00
|
|
|
require_relative "helper"
|
|
|
|
require "rubyx/rubyxc"
|
|
|
|
|
|
|
|
module RubyX
|
|
|
|
class TestRubyXCliInterpret < MiniTest::Test
|
|
|
|
|
|
|
|
def test_interpret
|
2019-09-24 21:05:38 +02:00
|
|
|
assert_output(/interpreting/) {RubyXC.start(["interpret" ,
|
|
|
|
"--integers=50","--messages=50" , "test/mains/source/00_one-call__8.rb"])}
|
2019-09-13 19:34:41 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|