extract the ruby from mains tests

move up in directory
in preparation for arm tests
This commit is contained in:
Torsten Ruger
2018-06-24 11:56:10 +03:00
parent 87be6bf9d5
commit 563ed4647a
8 changed files with 47 additions and 45 deletions

13
test/mains/helper.rb Normal file
View File

@ -0,0 +1,13 @@
require_relative '../helper'
module Mains
class MainsTest < MiniTest::Test
include Risc::Ticker
def setup;end
def run_main_file(file)
input = File.read("test/mains/#{file}.rb")
run_main(input)
end
end
end