tnewsets.nim 119 B

1234567
  1. # new test for sets:
  2. const elem = ' '
  3. var s: set[char] = {elem}
  4. assert(elem in s and 'a' not_in s and 'c' not_in s )