getting back into it

This commit is contained in:
2020-02-09 21:33:34 +07:00
parent 5b27ae7ddf
commit df4fd409c1
5 changed files with 27 additions and 7 deletions

View File

@ -56,5 +56,11 @@ module SlotLanguage
assert_equal SlotMachine::Label , multi.first.class
assert_equal SlotMachine::Jump , multi.last.class
end
def test_shift
load = compile("word = name.member")
assert_equal LoadMaker , load.class
assert_equal :word , load.left.leaps.first
assert_equal SlotMaker , load.right.class
end
end
end