(t *testing.T)
| 2138 | } |
| 2139 | |
| 2140 | func TestAllContainerMethodsAllContainerTypes065(t *testing.T) { |
| 2141 | t.Run("each of the container methods that takes two containers should handle all 3x3==9 possible ways of being called -- without panic", func(t *testing.T) { |
| 2142 | a := newArrayContainer() |
| 2143 | r := newRunContainer16() |
| 2144 | b := newBitmapContainer() |
| 2145 | |
| 2146 | arr := []container{a, r, b} |
| 2147 | for _, i := range arr { |
| 2148 | for _, j := range arr { |
| 2149 | i.and(j) |
| 2150 | i.iand(j) |
| 2151 | i.andNot(j) |
| 2152 | |
| 2153 | i.iandNot(j) |
| 2154 | i.xor(j) |
| 2155 | i.equals(j) |
| 2156 | |
| 2157 | i.or(j) |
| 2158 | i.ior(j) |
| 2159 | i.intersects(j) |
| 2160 | |
| 2161 | i.lazyOR(j) |
| 2162 | i.lazyIOR(j) |
| 2163 | } |
| 2164 | } |
| 2165 | }) |
| 2166 | } |
| 2167 | |
| 2168 | type twoCall func(r container) container |
| 2169 |
nothing calls this directly
no test coverage detected
searching dependent graphs…