move test helpers up, so they can be used in Melon too

This commit is contained in:
Torsten Ruger
2017-01-16 17:43:39 +02:00
parent 4ba182a822
commit 091900ef1c
3 changed files with 55 additions and 45 deletions

View File

@ -5,12 +5,13 @@ require "parser/ruby22"
module Melon
module MelonTests
include CompilerHelper
include Register::InterpreterHelpers
def setup
Register.machine.boot
end
def check
def check_nil
RubyCompiler.compile @string_input
Register::Collector.collect_space
@interpreter = Register::Interpreter.new