public void Wrapper_WhenMoreLinesAreNeeded_SplitMultipleLines(string input, int num) { string output = Wrapper.Wrap(input, num); Assert.AreEqual("text\ntext\ntext", output); }
public void Wrapper_WhenNumberIsOnWord_SplitAtPreviousSpace2(string input, int num) { string output = Wrapper.Wrap(input, num); Assert.AreEqual("text text\ntext", output); }
public void Wrapper_WhenNumberBiggerOrEqualThenStringLenght_ReturnString(string input, int num) { string output = Wrapper.Wrap(input, num); Assert.AreEqual(input, output); }
public void Wrapper_WhenNumberIsOnWordEdge_SplitStringThere2(string input, int num) { string output = Wrapper.Wrap(input, num); Assert.AreEqual("text text\ntext", output); }
public void Wrapper_WhenEmpty_ReturnEmpty() { string output = Wrapper.Wrap("", 4); Assert.AreEqual(string.Empty, output); }