(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func TestNewSet(t *testing.T) { |
| 15 | t.Parallel() |
| 16 | if NewSet[string]().Set == nil { |
| 17 | t.Fatal("NewSet[string] returned nil Set") |
| 18 | } |
| 19 | |
| 20 | if NewSet[int]().Set == nil { |
| 21 | t.Fatal("NewSet[int] returned nil Set") |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func TestSetAdd(t *testing.T) { |
| 26 | t.Parallel() |