(t *testing.T)
| 106 | } |
| 107 | |
| 108 | func TestIsProperSupersetOf(t *testing.T) { |
| 109 | s1, s2 := New(1, 2, 3), New(1, 2, 3, 4) |
| 110 | if !s2.IsProperSupersetOf(s1) { |
| 111 | t.Errorf("expecting %v to be a proper superset of %v", s2, s1) |
| 112 | } |
| 113 | if s3 := New(3, 2, 1); s1.IsProperSupersetOf(s3) { |
| 114 | t.Errorf("expecting %v not to be a proper superset of %v", s1, s3) |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | func TestUnion(t *testing.T) { |
| 119 | td := []struct { |
nothing calls this directly
no test coverage detected