(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestNewStringSet(t *testing.T) { |
| 74 | s := NewStringSet("a", "b", "c") |
| 75 | if len(s) != 3 { |
| 76 | t.Errorf("Expected len=3: %d", len(s)) |
| 77 | } |
| 78 | if !s.Has("a") || !s.Has("b") || !s.Has("c") { |
| 79 | t.Errorf("Unexpected contents: %#v", s) |
| 80 | } |
| 81 | } |
nothing calls this directly
no test coverage detected