Ejemplo n.º 1
0
 public static void Intersect_SourceMultiple(ParallelQuery<int> leftQuery, int leftCount, ParallelQuery<int> rightQuery, int rightCount, int count)
 {
     int seen = 0;
     Assert.All(leftQuery.Intersect(rightQuery), x => Assert.Equal(seen++, x));
     Assert.Equal(count, seen);
 }