public void Equals_WorksForStrings() { var _SUT = new EquatableSemanticType <string>(_TestString); Assert.That(_SUT.Equals(_TestString)); Assert.False(_SUT.Equals(_OtherTestString)); }
public void Equals_WorksForInts() { var _SUT = new EquatableSemanticType <int>(_TestInt); Assert.That(_SUT.Equals(_TestInt)); Assert.False(_SUT.Equals(_OtherTestInt)); }
public void Equals_WorksForStrings() { var _SUT = new EquatableSemanticType<string>(_TestString); Assert.That(_SUT.Equals(_TestString)); Assert.False(_SUT.Equals(_OtherTestString)); }
public void Equals_WorksForInts() { var _SUT = new EquatableSemanticType<int>(_TestInt); Assert.That(_SUT.Equals(_TestInt)); Assert.False(_SUT.Equals(_OtherTestInt)); }