(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestIsProperSubsetOf(t *testing.T) { |
| 86 | s1, s2 := New(1, 2, 3), New(1, 2, 3, 4) |
| 87 | if !s1.IsProperSubsetOf(s2) { |
| 88 | t.Errorf("expecting %v to be a proper subset of %v", s1, s2) |
| 89 | } |
| 90 | if s3 := New(3, 2, 1); s1.IsProperSubsetOf(s3) { |
| 91 | t.Errorf("expecting %v not to be a proper subset of %v", s1, s3) |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | func TestIsSupersetOf(t *testing.T) { |
| 96 | s1, s2 := New(1, 2, 3), New(1, 2, 3, 4) |
nothing calls this directly
no test coverage detected