public void WrongLength_NotPassed() { var target = new DriverLicenseSeriesMaskRule("12345"); var result = target.Passed(); Assert.IsFalse(result); }
public void CorrectLength2DigitsLetterFirst_NotPassed() { var target = new DriverLicenseSeriesMaskRule("цц11"); var result = target.Passed(); Assert.IsFalse(result); }
public void CorrectLengthAllDigits_Passed() { var target = new DriverLicenseSeriesMaskRule("1234"); var result = target.Passed(); Assert.IsTrue(result); }
public void CorrectLength1Digit_NotPassed() { var target = new DriverLicenseSeriesMaskRule("1ццц"); var result = target.Passed(); Assert.IsFalse(result); }