CopyStringSet() is called and the result is validated.
(t *testing.T)
| 42 | |
| 43 | // CopyStringSet() is called and the result is validated. |
| 44 | func TestCopyStringSet(t *testing.T) { |
| 45 | ss := CreateStringSet("foo") |
| 46 | sscopy := CopyStringSet(ss) |
| 47 | if !ss.Equals(sscopy) { |
| 48 | t.Fatalf("expected: %s, got: %s", ss, sscopy) |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | // StringSet.Add() is called with series of cases for valid and erroneous inputs and the result is validated. |
| 53 | func TestStringSetAdd(t *testing.T) { |
nothing calls this directly
no test coverage detected