public void TestTruncateDoesNothingOnShortString()
 {
     builder.Truncate(13, false, "...");
     AssertTitleIs("Text", builder);
 }
Ejemplo n.º 2
0
 public void TestTruncate()
 {
     initiallyEmptyBuilder.Append("The quick brown fox jumped");
     initiallyEmptyBuilder.Truncate(14);
     AssertTitleIs("The quick brow", initiallyEmptyBuilder);
 }