public void DP_TestMethod3() { IV.Set32_WordBreakProblem wbp = new IV.Set32_WordBreakProblem(); string s = "ilikesamsung"; var x = wbp.wordBreak_DP(s, dictionary); Assert.AreEqual(true, x); }
public void DP_TestMethod6() { IV.Set32_WordBreakProblem wbp = new IV.Set32_WordBreakProblem(); string s = "samsungandmangok"; var x = wbp.wordBreak_DP(s, dictionary); Assert.AreEqual(false, x); }
public void DP_TestMethod7() { IV.Set32_WordBreakProblem wbp = new IV.Set32_WordBreakProblem(); string s = "aaaaaaa"; dictionary = new string[] { "aaaa", "aa" }; var x = wbp.wordBreak_DP(s, dictionary); Assert.AreEqual(false, x); }