Пример #1
0
        public void Some_Anagram_Return_Anagram()
        {
            AnagramC code = new AnagramC(@"C:\Users\USER\Desktop\Tendencias\Kata\TendenciasKata\Kata 3\AnagramTests.txt");

            Assert.Contains("maria riama", code.Solve());
        }
Пример #2
0
        public void Test_No_Anagram_Return_Nothing()
        {
            AnagramC code = new AnagramC(new string[] { "hola", "lola" });

            Assert.AreEqual(0, code.Solve().Count);
        }
Пример #3
0
        public void One_Anagram_Return_Anagram()
        {
            AnagramC code = new AnagramC(new string[] { "hola", "olah" });

            Assert.Contains("hola olah", code.Solve());
        }
Пример #4
0
        public void Test_Empty_Return_Nothing()
        {
            AnagramC code = new AnagramC(new string[] { });

            Assert.AreEqual(0, code.Solve().Count);
        }