* packedsets fix regression introduced in #15564 * add tests
This commit is contained in:
parent
59332ec235
commit
109cc45398
3 changed files with 25 additions and 8 deletions
10
tests/stdlib/mintsets.nim
Normal file
10
tests/stdlib/mintsets.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import std/intsets
|
||||
|
||||
proc test1*[]() =
|
||||
let a = initIntSet()
|
||||
doAssert len(a) == 0
|
||||
|
||||
proc test2*[]() =
|
||||
var a = initIntSet()
|
||||
var b = initIntSet()
|
||||
a.incl b
|
||||
Loading…
Add table
Add a link
Reference in a new issue