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

IsProperSuperset() public method

현재 집합이 지정된 값을 가진 집합의 순모집합인지 판단한다. (두집합이 동치이면 False이다)
public IsProperSuperset ( ) : bool
return bool
        public virtual bool IsProperSuperset(params int[] values) {
            return IsProperSuperset(new PascalSet(_lowerBound, _upperBound, values));
        }

Same methods

PascalSet::IsProperSuperset ( PascalSet set ) : bool

Usage Example

Beispiel #1
0
        public void IsSupersetTest()
        {
            Assert.IsTrue(_pascalSet1.IsSuperset(_pascalSet2));
            Assert.IsTrue(_pascalSet1.IsSuperset(_pascalSet3));

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