Ejemplo n.º 1
0
        public void ShouldReturnFalseIfOnStringIsEmpty(string word1, string word2)
        {
            var checker = new AnagramChecker();

            var result = checker.Check(word1, word2);

            Assert.False(result);
        }
Ejemplo n.º 2
0
        public void ShouldReturnTrueIfStringsAreAnagram(string word1, string word2)
        {
            var checker = new AnagramChecker();

            var result = checker.Check(word1, word2);

            Assert.True(result);
        }
Ejemplo n.º 3
0
        public void ShouldReturnFalseIfLengthIsDifferent(string word1, string word2)
        {
            var checker = new AnagramChecker();

            var result = checker.Check(word1, word2);

            Assert.False(result);
        }