C# 클래스 PclUnit.Constraints.Pieces.NUnitEqualityComparer

NUnitEqualityComparer encapsulates NUnit's handling of equality tests between objects.
상속: INUnitEqualityComparer
파일 보기 프로젝트 열기: jbtule/PclUnit 1 사용 예제들

공개 메소드들

메소드 설명
AreEqual ( object x, object y, Tolerance &tolerance ) : bool

Compares two objects for equality within a tolerance.

비공개 메소드들

메소드 설명
ArraysEqual ( Array x, Array y, Tolerance &tolerance ) : bool

Helper method to compare two arrays

CollectionsEqual ( ICollection x, ICollection y, Tolerance &tolerance ) : bool
DictionariesEqual ( IDictionary x, IDictionary y, Tolerance &tolerance ) : bool
EnumerablesEqual ( IEnumerable x, IEnumerable y, Tolerance &tolerance ) : bool
FirstImplementsIEquatableOfSecond ( Type first, Type second ) : bool
GetEquatableGenericArguments ( Type type ) : System.Type[]
GetExternalComparer ( object x, object y ) : EqualityAdapter
InvokeFirstIEquatableEqualsSecond ( object first, object second ) : bool
StreamsEqual ( Stream x, Stream y ) : bool
StringsEqual ( string x, string y ) : bool

메소드 상세

AreEqual() 공개 메소드

Compares two objects for equality within a tolerance.
public AreEqual ( object x, object y, Tolerance &tolerance ) : bool
x object
y object
tolerance Tolerance
리턴 bool