public void ShouldNotThrowWhenGetHashCodeProducesHashBasedOnValues(GetHashCodeValueCheckAssertion sut)
 {
     EqualityTestAssert.ExceptionWasNotThrownForTestType <ValueObjectHashCodeExample>(sut);
 }
 public void ShouldNotThrowExceptionWhenIEquatableIsImplemented(IEquatableImplementedAssertion sut)
 {
     EqualityTestAssert.ExceptionWasNotThrownForTestType <ClassThatImplementsIEquatable>(sut);
 }
예제 #3
0
 public void ShouldNotThrowWhenEqualityOperatorIsOverloaded(EqualityOperatorOverloadAssertion sut)
 {
     EqualityTestAssert.ExceptionWasNotThrownForTestType <ClassWhichOverloadsEqualityOperator>(sut);
 }
예제 #4
0
 public void ShouldNotThrowWhenValueCheckInEqualsImplementation(EqualsValueCheckAssertion sut)
 {
     EqualityTestAssert.ExceptionWasNotThrownForTestType <ValueObjectExample>(sut);
 }
 public void ShouldNotThrowExceptionWhenEqualityOperatorPerformsValueCheck(
     EqualityOperatorValueCheckAssertion sut)
 {
     EqualityTestAssert.ExceptionWasNotThrownForTestType <ClassWithEqualityOperatorValueCheck>(sut);
 }
예제 #6
0
 public void ShouldNotThrowWhenIEquatablePerformsValueCheck(IEquatableValueCheckAssertion sut)
 {
     EqualityTestAssert.ExceptionWasNotThrownForTestType <IEquatableWithValueCheck>(sut);
 }