adds value to used regs and test for it

This commit is contained in:
Torsten Ruger
2015-10-15 09:07:47 +03:00
parent 300ce24739
commit e436581ce8
5 changed files with 9 additions and 14 deletions

View File

@ -26,6 +26,7 @@ module CompilerHelper
produced = compiler.process( parts )
assert @output , "No output given"
assert_equal produced.class, @output , "Wrong class"
produced
end
end

View File

@ -11,7 +11,7 @@ class TestBasic < MiniTest::Test
def test_number
@string_input = '42 '
check
assert_equal 42 , check.value
end
def test_true