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()); }
public void Test_No_Anagram_Return_Nothing() { AnagramC code = new AnagramC(new string[] { "hola", "lola" }); Assert.AreEqual(0, code.Solve().Count); }
public void One_Anagram_Return_Anagram() { AnagramC code = new AnagramC(new string[] { "hola", "olah" }); Assert.Contains("hola olah", code.Solve()); }
public void Test_Empty_Return_Nothing() { AnagramC code = new AnagramC(new string[] { }); Assert.AreEqual(0, code.Solve().Count); }