Пример #1
0
            public void Return_Valid_CheckDigit_For_Numeric_Values()
            {
                // assign
                string inputString = "1234567890"; // total = 147, so 147/10 = 14 remainder 7

                // act
                var result = validate.GetCheckDigit(inputString, true, false);

                //assert
                Assert.AreEqual(7, result);
            }