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

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