require_relative "virtual_helper" class HelloTest < MiniTest::Test include VirtualHelper def check machine = Virtual::Machine.boot expressions = machine.compile_main @string_input machine.run_before "Register::CallImplementation" puts Sof::Writer.write(machine.space) machine.run_after "Register::CallImplementation" writer = Elf::ObjectWriter.new(machine) writer.save "hello.o" end def qtest_simplest_function @string_input = <