public void TestShouldReturnNotEqualsWhenComparedDifferentPIS() { PIS pis1 = "96382963820"; PIS pis2 = "96382963827"; Assert.IsFalse(pis1.Equals(pis2)); }
public void TestShouldReturnEqualsWhenComparedFormattedAndUnformattedPIS() { PIS pisWithMask = "595.69595.69-0"; PIS pisWithoutMask = "59569595690"; Assert.IsTrue(pisWithMask.Equals(pisWithoutMask)); }