示例#1
0
 void Equals_NullTarget_ReturnsFalse()
 {
     var id1 = new TurkishIdNumber(validNumbers[0]);
     TurkishIdNumber id2 = null;
     Assert.IsFalse(id1.Equals(id2));
 }
示例#2
0
 void Equals_SameValues_ReturnsTrue()
 {
     var id1 = new TurkishIdNumber(validTurkishId);
     var id2 = new TurkishIdNumber(validTurkishId);
     Assert.IsTrue(id1.Equals(id2));
 }
示例#3
0
 void Equals_DifferentValues_ReturnsFalse()
 {
     var id1 = new TurkishIdNumber(validNumbers[0]);
     var id2 = new TurkishIdNumber(validNumbers[1]);
     Assert.IsFalse(id1.Equals(id2));
 }