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