public void ExceptWithTest2() { var bag = new SortedBag <int> { 3, 5, 1, 4, 6, 2, 3, 5, 1, 4, 6, 2 }; var l = new List <int> { 1, 3, 5 }; bag.ExceptWith(l); Assert.Equal(new[] { 1, 2, 2, 3, 4, 4, 5, 6, 6 }, bag); }