Esempio n. 1
0
        public void TestMethod1()
        {
            //Arrange
            string iban = "RO48PORL4889462216578213";

            //Act
            bool isPalindrom = PalindromeExtensions.IsPalindrome(iban.Substring(8));

            //Assert
            Assert.AreEqual(true, isPalindrom);
        }
Esempio n. 2
0
        public void TestMethod2()
        {
            //Arrange
            string iban = "RO48PORL1234567887654321";

            //Act
            bool isPalindrom = PalindromeExtensions.IsPalindrome(iban.Substring(8));

            //Assert
            Assert.IsTrue(isPalindrom);
        }