(t *testing.T, c container)
| 128 | } |
| 129 | |
| 130 | func testContainerPanics(t *testing.T, c container) { |
| 131 | f := &struct { |
| 132 | arrayContainer |
| 133 | }{} |
| 134 | |
| 135 | assert.Panics(t, func() { c.or(f) }) |
| 136 | assert.Panics(t, func() { c.ior(f) }) |
| 137 | assert.Panics(t, func() { c.lazyIOR(f) }) |
| 138 | assert.Panics(t, func() { c.lazyOR(f) }) |
| 139 | assert.Panics(t, func() { c.and(f) }) |
| 140 | assert.Panics(t, func() { c.intersects(f) }) |
| 141 | assert.Panics(t, func() { c.iand(f) }) |
| 142 | assert.Panics(t, func() { c.xor(f) }) |
| 143 | assert.Panics(t, func() { c.andNot(f) }) |
| 144 | assert.Panics(t, func() { c.iandNot(f) }) |
| 145 | } |
| 146 | |
| 147 | func TestArrayContainerNumberOfRuns025(t *testing.T) { |
| 148 | seed := int64(42) |
no test coverage detected
searching dependent graphs…