public void Paper_Append_Char() { var ppr = new Paper(); ppr.Append('Q'); Assert.That(ppr.Text(), Is.EqualTo("Q")); }
public void Paper_Append_Null_Text() { var ppr = new Paper(); ppr.Append(null); Assert.That(ppr.Text(), Is.EqualTo("")); }
public void Paper_Append_Long_Text() { var ppr = new Paper(); ppr.Append(LorumIpsum.Text); Assert.That(ppr.Text(), Is.EqualTo(LorumIpsum.Text)); }
public void Paper_Append_Short_Text() { var ppr = new Paper(); ppr.Append("Z"); Assert.That(ppr.Text(), Is.EqualTo("Z")); }
public void WhenPaperGivenTextToAppend_PaperContainsText() { string textToWrite = "It was the best of times"; sheet = new Paper(); sheet.Append(textToWrite); Assert.AreEqual(textToWrite, sheet.Text); }
public void WhenNonblankPaperGivenTextToWrite_PaperContainsOriginalAndAppendedText() { string originalText = "It was the best of times"; string textToWrite = ", it was the blurst of times."; sheet = new Paper(originalText); sheet.Append(textToWrite); Assert.AreEqual(originalText + textToWrite, sheet.Text); }
public void Paper_Append() { var ppr = new Paper(); ppr.Append("Hello"); }