Ejemplo n.º 1
0
 public void TestHasReasonableNumChars()
 {
     Assert.AreEqual(false, WordUtil.HasReasonableNumChars("o"));
     Assert.AreEqual(true, WordUtil.HasReasonableNumChars("The whole world"));
     Assert.AreEqual(true, WordUtil.HasReasonableNumChars("toe"));
     Assert.AreEqual(false, WordUtil.HasReasonableNumChars("on!"));
     Assert.AreEqual(true, WordUtil.HasReasonableNumChars("$%^&*"));
 }