public void TestMethod4() { var list = new List <string> { "a", "b", "c", "d", "e", "f" }; var result = new Word_Ladder().LadderLength("a", "f", list); Assert.AreEqual(2, result); }
public void TestMethod2() { var list = new List <string> { "hot", "dot", "dog", "lot", "log" }; var result = new Word_Ladder().LadderLength("hit", "cog", list); Assert.AreEqual(0, result); }