public void ParseStringsWithApostraphe() { var runner = new TextParser(); var listString = "we're coding"; var parsedList = runner.ParseString(listString); Assert.AreEqual(2, parsedList.Count); Assert.AreEqual(parsedList[0], "we're"); }
public void ParseWithDelimeters() { var runner = new TextParser(); var listString = @"first, second, / \ + = . , & third"; var parsedList = runner.ParseString(listString); Assert.AreEqual(3, parsedList.Count); Assert.AreEqual(parsedList[1], "second"); }
public void ParseList() { var runner = new TextParser(); var listString = "first second third"; var parsedList = runner.ParseString(listString); Assert.AreEqual(parsedList.Count, 3); Assert.AreEqual(parsedList[1], "second"); }