rubyx/test/soml/fragments/helper.rb
Torsten Ruger 7daaec6a0a unify fragment and parfait test code
so that we can test fragments remotely too
2015-11-18 13:04:57 +02:00

21 lines
375 B
Ruby

require_relative '../helper'
# Fragments are small programs that we run through the interpreter and really only check
# - the no. of instructions processed
# - the stdout output
module Fragments
include RuntimeTests
# define setup to NOT load parfait.
def setup
@stdout = ""
@machine = Register.machine.boot
end
def main()
@string_input
end
end