(t *testing.T)
| 199 | } |
| 200 | |
| 201 | func TestContainerReverseIterator(t *testing.T) { |
| 202 | content := []uint16{1, 3, 5, 7, 9} |
| 203 | c := makeContainer(content) |
| 204 | si := c.getReverseIterator() |
| 205 | i := 4 |
| 206 | |
| 207 | for si.hasNext() { |
| 208 | assert.Equal(t, content[i], si.next()) |
| 209 | i-- |
| 210 | } |
| 211 | |
| 212 | assert.Equal(t, -1, i) |
| 213 | } |
| 214 | |
| 215 | func TestRoaringContainer(t *testing.T) { |
| 216 | t.Run("countTrailingZeros", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…