NUnit.Framework.Constraints.SamePathConstraint.Matches C# (CSharp) 메소드

Matches() 공개 메소드

Test whether the constraint is satisfied by a given value
public Matches ( object actual ) : bool
actual object The value to be tested
리턴 bool
        public override bool Matches(object actual)
        {
            this.actual = actual;

            if ( !(actual is string) )
                return false;

            return IsSamePath( expected, (string)actual );
        }