(t *testing.T)
| 29 | } |
| 30 | |
| 31 | func TestStringSetEmptySetA(t *testing.T) { |
| 32 | setA := StringSet{} |
| 33 | setB := StringSet{"a": true, "c": false} |
| 34 | |
| 35 | expected := false |
| 36 | actual := setA.Contains(setB) |
| 37 | |
| 38 | if expected != actual { |
| 39 | t.Errorf("Expected empty set A not to contain set B, but instead received: %v", actual) |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func TestStringSetEmptySetB(t *testing.T) { |
| 44 | setA := StringSet{"a": true, "c": false} |