IsProperSubset() public méthode

현재 집합이 지정된 집합의 참부분집합인지 판단한다. (두집합이 동치이면 False이다)
public IsProperSubset ( ) : bool
Résultat bool
Exemple #1
0
        public void IsSubsetTest()
        {
            Assert.IsTrue(_pascalSet2.IsSubset(_pascalSet1));
            Assert.IsTrue(_pascalSet3.IsSubset(_pascalSet1));

            Assert.IsTrue(_pascalSet2.IsProperSubset(_pascalSet1));
            Assert.IsTrue(_pascalSet3.IsProperSubset(_pascalSet1));
        }