rubyx/test/slot_language/test_slot_maker.rb

14 lines
281 B
Ruby
Raw Normal View History

2019-10-04 20:06:22 +02:00
require_relative "helper"
module SlotLanguage
class TestSlotMaker < MiniTest::Test
include SlotHelper
def test_label
label = compile("while_label")
assert_equal SlotMachine::Label , label.class
assert_equal :while_label , label.name
end
end
end