rubyx/test/virtual/virtual_helper.rb
2015-05-05 14:04:37 +03:00

19 lines
398 B
Ruby

require_relative '../helper'
require 'parslet/convenience'
require "yaml"
module VirtualHelper
# need a code generator, for arm
def setup
# @object_space = Boot::BootSpace.new "Arm"
end
def check
machine = Virtual::Machine.boot
expressions = machine.compile_main @string_input
is = Sof::Writer.write(expressions).gsub("\n" , "*^*")
assert_equal is , @output
end
end