public void CheckSetExceptWith() { q = new SetCollection <int>(); var testSet1 = new int[] { 1, 2, 3, 4, 5 }; q.AddRange(testSet1); q.ExceptWith(new int[] { 2, 4 }); var expected = new int[] { 1, 3, 5 }; CollectionAssert.AreEqual(expected, q); }