(t *testing.T)
| 41 | } |
| 42 | |
| 43 | func TestStringSetEmptySetB(t *testing.T) { |
| 44 | setA := StringSet{"a": true, "c": false} |
| 45 | setB := StringSet{} |
| 46 | |
| 47 | expected := true |
| 48 | actual := setA.Contains(setB) |
| 49 | |
| 50 | if expected != actual { |
| 51 | t.Errorf("Expected set A to contain empty set B, but instead received: %v", actual) |
| 52 | } |
| 53 | } |