start to integrate sources

This commit is contained in:
Torsten Ruger
2018-11-02 11:57:54 -07:00
parent 6606593169
commit 87fc91cd5c
2 changed files with 76 additions and 16 deletions

View File

@ -0,0 +1,20 @@
require_relative "helper"
module RubyX
class TestRubyXCompilerBinary < MiniTest::Test
include ScopeHelper
include RubyXHelper
def setup
# code = "class Space ; def main(arg);return arg;end; end"
# @compiler = ruby_to_binary(code, :interpreter)
end
def test_to_binary
code = "class Space ; def main(arg);return arg;end; end"
@linker = RubyXCompiler.ruby_to_binary(code, :interpreter)
assert_equal Risc::Linker , @linker.class
end
def test_method
end
end
end