(t *testing.T)
| 162 | } |
| 163 | |
| 164 | func TestUIDListIntersectDupFirstPacked(t *testing.T) { |
| 165 | u := newUidPack([]uint64{1, 1, 2, 3}) |
| 166 | v := newUidPack([]uint64{1, 2}) |
| 167 | o := IntersectWithLinPacked(u, v) |
| 168 | require.Equal(t, []uint64{1, 2}, codec.Decode(o, 0)) |
| 169 | } |
| 170 | |
| 171 | func TestUIDListIntersectDupBothPacked(t *testing.T) { |
| 172 | u := newUidPack([]uint64{1, 1, 2, 3, 5}) |
nothing calls this directly
no test coverage detected