lean2/tests/lua/ns2.lua

6 lines
145 B
Lua
Raw Normal View History

local s = name_set("a", "b", "c", {"a", 1})
assert(s:contains("a"))
assert(s:contains({"a", 1}))
assert(s:contains("b"))
assert(s:contains("c"))