Exemple #1
0
            public void Test_IfComparisonOf_TheSameStrings_ButWithDifferentCaseSensitiveLetters_ReturnsTrue()
            {
                const string secondString = "aRmageDdOn!";

                Assert.IsTrue(StringComparison.CheckIfAnagrams1(FirstString, secondString));
            }
Exemple #2
0
            public void Test_IfComparisonOf_TheSameStrings_ButWrittenBackwards_ReturnsTrue()
            {
                const string secondString = "!noddegamrA";

                Assert.IsTrue(StringComparison.CheckIfAnagrams1(FirstString, secondString));
            }
Exemple #3
0
            public void Test_IfComparisonOf_TheSameStrings_ButWithRearrangedLetters_ReturnsTrue()
            {
                const string secondString = "dnarde!mAog";

                Assert.IsTrue(StringComparison.CheckIfAnagrams1(FirstString, secondString));
            }
Exemple #4
0
            public void Test_IfComparisonOf_DifferentStrings_ReturnsFalse()
            {
                const string secondString = "Apocalypse";

                Assert.IsFalse(StringComparison.CheckIfAnagrams1(FirstString, secondString));
            }