public void InvalidCharSentenceInput() { Glossary glossary = Load.BuildGlossary(); Sentence s1 = new Sentence("}[/", glossary, out string e1); Assert.IsTrue(e1 != null); }
public void EmptySentenceInput() { Glossary glossary = Load.BuildGlossary(); Sentence s = new Sentence("", glossary, out string e); Assert.IsTrue(e != null); }
public void InvalidWordSentenceInput() { Glossary glossary = Load.BuildGlossary(); Sentence s1 = new Sentence("the", glossary, out string e1); Assert.IsTrue(e1 != null); Sentence s2 = new Sentence("a an the", glossary, out string e2); Assert.IsTrue(e2 != null); }
public void WhitespaceSentenceInput() { Glossary glossary = Load.BuildGlossary(); Sentence s1 = new Sentence(" ", glossary, out string e1); Assert.IsTrue(e1 != null); Sentence s2 = new Sentence("\t", glossary, out string e2); Assert.IsTrue(e2 != null); Sentence s3 = new Sentence(" \t ", glossary, out string e3); Assert.IsTrue(e3 != null); }
public void NullSentenceInput() { Glossary glossary = Load.BuildGlossary(); Sentence s = new Sentence(null, glossary, out string e); }