NSoft.NFramework.Collections.PascalSet.IsProperSubset C# (CSharp) Method

IsProperSubset() public method

현재 집합이 지정된 집합의 참부분집합인지 판단한다. (두집합이 동치이면 False이다)
public IsProperSubset ( ) : bool
return bool
        public virtual bool IsProperSubset(params int[] values) {
            return IsProperSubset(new PascalSet(_lowerBound, _upperBound, values));
        }

Same methods

PascalSet::IsProperSubset ( PascalSet set ) : bool

Usage Example

Beispiel #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));
        }