mintsets.nim 182 B

123456789101112
  1. import std/intsets
  2. import std/assertions
  3. proc test1*[]() =
  4. let a = initIntSet()
  5. doAssert len(a) == 0
  6. proc test2*[]() =
  7. var a = initIntSet()
  8. var b = initIntSet()
  9. a.incl b