(t *testing.T)
| 169 | } |
| 170 | |
| 171 | func TestUIDListIntersectDupBothPacked(t *testing.T) { |
| 172 | u := newUidPack([]uint64{1, 1, 2, 3, 5}) |
| 173 | v := newUidPack([]uint64{1, 1, 2, 4}) |
| 174 | o := IntersectWithLinPacked(u, v) |
| 175 | require.Equal(t, []uint64{1, 1, 2}, codec.Decode(o, 0)) |
| 176 | } |
| 177 | |
| 178 | func TestUIDListIntersectDupSecondPacked(t *testing.T) { |
| 179 | u := newUidPack([]uint64{1, 2, 3, 5}) |
nothing calls this directly
no test coverage detected