Exemplo n.º 1
0
 public void testForEmptyString()
 {
     Assert.AreEqual(false, Assignment_Week_4.StringSegmentation(dictionary, ""));
 }
Exemplo n.º 2
0
 public void testForEmptyDictionary()
 {
     dictionary = new string[10];
     Assert.AreEqual(false, Assignment_Week_4.StringSegmentation(dictionary, "youenjoy"));
 }
Exemplo n.º 3
0
 public void testForNullInput()
 {
     Assignment_Week_4.StringSegmentation(dictionary, null);
 }
Exemplo n.º 4
0
 public void testForTrueOutput()
 {
     Assert.AreEqual(true, Assignment_Week_4.StringSegmentation(dictionary, "youleavefootprints"));
 }
Exemplo n.º 5
0
 public void testForFalseOutput()
 {
     Assert.AreEqual(false, Assignment_Week_4.StringSegmentation(dictionary, "salmonenjoyapples"));
 }
Exemplo n.º 6
0
 public void TestExampleFromTEBOWIT()
 {
     Assert.AreEqual(true, Assignment_Week_4.StringSegmentation(dictionary, "youenjoy"));
 }