public void Test1() { TransformWord transform = new TransformWord(new List <string>() { "cat", "dog", "cog", "cot" }); Assert.AreEqual(3, transform.Find("cat", "dog")); }
public void Test3() { TransformWord transform = new TransformWord(new List <string>() { "cat", "dog", "cog", "cot" }); Assert.IsNull(transform.Find("cat", "asds")); }
public void Test5() { TransformWord transform = new TransformWord(new List <string>() { "abc", "abd", "ace", "acd", "bce" }); Assert.AreEqual(4, transform.Find("abc", "bce")); }