(t *testing.T)
| 176 | } |
| 177 | |
| 178 | func TestUIDListIntersectDupSecondPacked(t *testing.T) { |
| 179 | u := newUidPack([]uint64{1, 2, 3, 5}) |
| 180 | v := newUidPack([]uint64{1, 1, 2, 4}) |
| 181 | o := IntersectWithLinPacked(u, v) |
| 182 | require.Equal(t, []uint64{1, 2}, codec.Decode(o, 0)) |
| 183 | } |
| 184 | |
| 185 | func TestIntersectSorted1Packed(t *testing.T) { |
| 186 | input := []*pb.UidPack{ |
nothing calls this directly
no test coverage detected