public void Test_IfComparisonOf_TheSameStrings_ButWithDifferentCaseSensitiveLetters_ReturnsTrue() { const string secondString = "aRmageDdOn!"; Assert.IsTrue(StringComparison.CheckIfAnagrams1(FirstString, secondString)); }
public void Test_IfComparisonOf_TheSameStrings_ButWrittenBackwards_ReturnsTrue() { const string secondString = "!noddegamrA"; Assert.IsTrue(StringComparison.CheckIfAnagrams1(FirstString, secondString)); }
public void Test_IfComparisonOf_TheSameStrings_ButWithRearrangedLetters_ReturnsTrue() { const string secondString = "dnarde!mAog"; Assert.IsTrue(StringComparison.CheckIfAnagrams1(FirstString, secondString)); }
public void Test_IfComparisonOf_DifferentStrings_ReturnsFalse() { const string secondString = "Apocalypse"; Assert.IsFalse(StringComparison.CheckIfAnagrams1(FirstString, secondString)); }