public static void IsIntersectWith_Test46() { HashSet <ValueItem> hashSet; IEnumerable <ValueItem> other; ValueItem item3 = new ValueItem(9999, -2); SetCollectionComparerTests.SetupTest4(out hashSet, out other); hashSet.IntersectWith(other); HashSetTestSupport <ValueItem> .VerifyHashSet(hashSet, new ValueItem[] { item3 }, hashSet.Comparer); }
public static void IsExceptWith_Test46() { HashSet <ValueItem> hashSet; IEnumerable <ValueItem> other; ValueItem item1 = new ValueItem(340, -5); ValueItem item2 = new ValueItem(4, 4); SetCollectionComparerTests.SetupTest4(out hashSet, out other); hashSet.ExceptWith(other); HashSetTestSupport <ValueItem> .VerifyHashSet(hashSet, new ValueItem[] { item1, item2 }, hashSet.Comparer); }