public void ShouldReturnFalseIfOnStringIsEmpty(string word1, string word2) { var checker = new AnagramChecker(); var result = checker.Check(word1, word2); Assert.False(result); }
public void ShouldReturnTrueIfStringsAreAnagram(string word1, string word2) { var checker = new AnagramChecker(); var result = checker.Check(word1, word2); Assert.True(result); }
public void ShouldReturnFalseIfLengthIsDifferent(string word1, string word2) { var checker = new AnagramChecker(); var result = checker.Check(word1, word2); Assert.False(result); }