rubyx/test/vool/test_array_statement.rb
Torsten Ruger b9caad937a rename bools compiler to ruby_compiler
as that is what is does, compile ruby strings into vool st
2017-04-06 15:36:41 +03:00

20 lines
424 B
Ruby

require_relative "helper"
module Vool
class TestArray < MiniTest::Test
def test_empty
lst = RubyCompiler.compile( "[]")
assert_equal ArrayStatement , lst.class
end
def test_one
lst = RubyCompiler.compile( "[1]")
assert_equal ArrayStatement , lst.class
end
def test_two
lst = RubyCompiler.compile( "[1,2]")
assert_equal ArrayStatement , lst.class
end
end
end