Beispiel #1
0
        public void ShouldCheckMatchesEmpty()
        {
            PalindromSolverReverse a = PalindromSolverReverse.FromString("");
            PalindromSolverReverse b = PalindromSolverReverse.FromString("");

            Assert.True(a.Matches(b));
        }
Beispiel #2
0
        public void ShouldCheckNotMatchesSameSize()
        {
            PalindromSolverReverse a = PalindromSolverReverse.FromString("ABC");
            PalindromSolverReverse b = PalindromSolverReverse.FromString("ABZ");

            Assert.False(a.Matches(b));
        }