lean2/tests/lua/n2.lua

7 lines
129 B
Lua
Raw Normal View History

assert(is_name(name("foo")))
assert(not is_name("foo"))
assert(not is_name(3))
a = name("foo", 1, 2)
print(a)
assert(is_name(a))