Difference() public method

현재 집합에서 지정된 배열 값을 뺀 차집합을 만든다.
public Difference ( ) : PascalSet
return PascalSet
示例#1
0
        public void DifferenceTest()
        {
            var diffSet = _pascalSet1.Difference(_pascalSet3);

            Assert.IsTrue(diffSet.Equals(_pascalSet2));

            diffSet = _pascalSet1 - _pascalSet3;
            Assert.IsTrue(diffSet.Equals(_pascalSet2));

            if (IsDebugEnabled)
            {
                log.Debug(diffSet.ToString());
            }
        }