6 lines
145 B
Lua
6 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"))
|