Beispiel #1
0
        public void TestIsProperSupersetOf()
        {
            var set = new TestSet <int>
            {
                1, 2, 3, 4
            };

            Assert.False(set.IsProperSupersetOf(new[] { 3, 4, 5 }));
            Assert.True(set.IsProperSupersetOf(new[] { 3, 4 }));
            Assert.False(set.IsProperSupersetOf(new[] { 1, 2, 3, 4 }));
        }