lean2/tests/lua/ns2.lua
Leonardo de Moura 5a7f181efc feat(util/name_set): improve name_set Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-05-08 17:17:00 -07:00

5 lines
145 B
Lua

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"))