public static void IsExceptWith_Test52()
        {
            ValueItem itemn4 = new ValueItem(-4, -4);
            ValueItem itemn3 = new ValueItem(-3, -3);
            ValueItem itemn2 = new ValueItem(-2, -2);
            ValueItem itemn1 = new ValueItem(-1, -1);
            ValueItem item1  = new ValueItem(1, 1);
            ValueItem item2  = new ValueItem(2, 2);
            ValueItem item3  = new ValueItem(3, 3);
            ValueItem item4  = new ValueItem(4, 4);

            HashSet <IEnumerable> itemhs1 = new HashSet <IEnumerable>(new ValueItem[] { item1, item2, item3, item4 });
            HashSet <IEnumerable> itemhs2 = new HashSet <IEnumerable>(new ValueItem[] { itemn1, itemn2, itemn3, itemn4 });

            HashSet <HashSet <IEnumerable> >     hashSet;
            IEnumerable <HashSet <IEnumerable> > other;

            SetCollectionComparerTests.SetupTest10(out hashSet, out other);
            hashSet.ExceptWith(other);

            HashSet <IEnumerable>[] expected = new HashSet <IEnumerable>[] { itemhs1, itemhs2 };
            HashSet <IEnumerable>[] actual   = new HashSet <IEnumerable> [2];
            hashSet.CopyTo(actual, 0, 2);

            Assert.Equal(2, hashSet.Count); //"Should be equal"
            HashSetTestSupport.HashSetContains(actual, expected);
        }
        public static void IsExceptWith_Test57()
        {
            HashSet <HashSet <IEnumerable> >     hashSet;
            IEnumerable <HashSet <IEnumerable> > other;

            SetCollectionComparerTests.SetupTest15(out hashSet, out other);
            hashSet.ExceptWith(other);

            HashSetTestSupport <HashSet <IEnumerable> > .VerifyHashSet(hashSet, new HashSet <IEnumerable> [0], hashSet.Comparer);
        }
        public static void IsIntersectWith_Test54()
        {
            HashSet <ValueItem>     hashSet;
            IEnumerable <ValueItem> other;

            SetCollectionComparerTests.SetupTest12(out hashSet, out other);
            hashSet.IntersectWith(other);

            HashSetTestSupport <ValueItem> .VerifyHashSet(hashSet, new ValueItem[0], hashSet.Comparer);
        }
        public static void IsIntersectWith_Test56()
        {
            HashSet <ValueItem>     hashSet;
            IEnumerable <ValueItem> other;
            ValueItem item3 = new ValueItem(9999, -2);

            SetCollectionComparerTests.SetupTest14(out hashSet, out other);
            hashSet.IntersectWith(other);

            HashSetTestSupport <ValueItem> .VerifyHashSet(hashSet, new ValueItem[] { item3 }, hashSet.Comparer);
        }
        public static void IsExceptWith_Test56()
        {
            HashSet <ValueItem>     hashSet;
            IEnumerable <ValueItem> other;
            ValueItem item1 = new ValueItem(340, -5);
            ValueItem item2 = new ValueItem(4, 4);

            SetCollectionComparerTests.SetupTest14(out hashSet, out other);
            hashSet.ExceptWith(other);

            HashSetTestSupport <ValueItem> .VerifyHashSet(hashSet, new ValueItem[] { item1, item2 }, hashSet.Comparer);
        }
        public static void IsIntersectWith_Test52()
        {
            HashSet <IEnumerable> inneritem = new HashSet <IEnumerable>();

            HashSet <HashSet <IEnumerable> >     hashSet;
            IEnumerable <HashSet <IEnumerable> > other;

            SetCollectionComparerTests.SetupTest10(out hashSet, out other);
            inneritem.Add(hashSet);
            hashSet.IntersectWith(other);

            HashSet <IEnumerable>[] expected = new HashSet <IEnumerable>[] { inneritem };
            HashSet <IEnumerable>[] actual   = new HashSet <IEnumerable> [1];
            hashSet.CopyTo(actual, 0, 1);

            Assert.Equal(1, hashSet.Count); //"Should be equal"
            HashSetTestSupport.HashSetContains(actual, expected);
        }