public void TestCheckMatchNone() { var FourDigits = new List <Digit> { new Digit { DigitValue = "4" }, new Digit { DigitValue = "3" }, new Digit { DigitValue = "2" }, new Digit { DigitValue = "1" }, }; Assert.AreEqual("", CheckDigits.Check("5656", FourDigits)); }
public void TestCheckMatch1() { var FourDigits = new List <Digit> { new Digit { DigitValue = "4" }, new Digit { DigitValue = "3" }, new Digit { DigitValue = "2" }, new Digit { DigitValue = "1" }, }; Assert.AreEqual("+---", CheckDigits.Check("4213", FourDigits)); }