public void Split_NoTabs_OneElementTable() { var target = new TabSplitter(); var actual = target.Split("test"); CollectionAssert.AreEqual(new[] { "test" }, actual); }
public void Split_OneTab_TwoElementTable() { var target = new TabSplitter(); var actual = target.Split("test1\ttest2"); CollectionAssert.AreEqual(new[] { "test1", "test2" }, actual); }
public void Split_Null_NullReferenceException() { var target = new TabSplitter(); Assert.Throws <NullReferenceException>(() => target.Split(null)); }