rubyx/test/soml/fragments/helper.rb

21 lines
375 B
Ruby
Raw Normal View History

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
2015-11-05 16:00:41 +01:00
end
end