public static void IsExceptWith_Test37() { HashSet <int> hashSet; IEnumerable <int> other; SetCollectionRelationshipTests.SetupTest37(out hashSet, out other); hashSet.ExceptWith(other); HashSetTestSupport <int> .VerifyHashSet(hashSet, new int[] { 1, 2, 3, 4, 6, 7, 5 }, hashSet.Comparer); }
public static void IsExceptWith_Test36() { HashSet <Item> hashSet; IEnumerable <Item> other; SetCollectionRelationshipTests.SetupTest36(out hashSet, out other); hashSet.ExceptWith(other); HashSetTestSupport <Item> .VerifyHashSet(hashSet, new Item[] { new Item(-3), new Item(3) }, hashSet.Comparer); }
public static void IsExceptWith_Test21() { HashSet <IEnumerable> hashSet; IEnumerable <IEnumerable> other; SetCollectionRelationshipTests.SetupTest21(out hashSet, out other); hashSet.ExceptWith(other); HashSetTestSupport <IEnumerable> .VerifyHashSet(hashSet, new IEnumerable[0], hashSet.Comparer); }
public static void IsIntersectWith_Test6() { HashSet <Item> hashSet; IEnumerable <Item> other; SetCollectionRelationshipTests.SetupTest6(out hashSet, out other); hashSet.IntersectWith(other); HashSetTestSupport <Item> .VerifyHashSet(hashSet, new Item[0], hashSet.Comparer); }
public static void IsIntersectWith_Test35() { HashSet <int> hashSet; IEnumerable <int> other; SetCollectionRelationshipTests.SetupTest35(out hashSet, out other); hashSet.IntersectWith(other); HashSetTestSupport <int> .VerifyHashSet(hashSet, new int[] { 0 }, hashSet.Comparer); }
public static void IsExceptWith_Test34() { List <int> item1 = new List <int>(new int[] { 1, 2 }); List <int> item2 = new List <int>(new int[] { 2, -1 }); HashSet <IEnumerable> hashSet; IEnumerable <IEnumerable> other; SetCollectionRelationshipTests.SetupTest34(out hashSet, out other); hashSet.ExceptWith(other); HashSetTestSupport <IEnumerable> .VerifyHashSet(hashSet, new IEnumerable[] { item1, item2 }, hashSet.Comparer); }
public static void IsIntersectWith_Test21() { List <int> item1 = new List <int>(new int[] { 1, 3, 5, -2 }); List <int> item2 = new List <int>(new int[] { 1, -3, 5, -2 }); HashSet <IEnumerable> hashSet; IEnumerable <IEnumerable> other; SetCollectionRelationshipTests.SetupTest21(out hashSet, out other); hashSet.IntersectWith(other); HashSetTestSupport <IEnumerable> .VerifyHashSet(hashSet, new IEnumerable[] { other, item1, item2 }, hashSet.Comparer); }