Exemplo n.º 1
0
 public void TestRStrip()
 {
     Assert.AreEqual("  test", StandardFilters.Rstrip("  test  "));
     Assert.AreEqual("   test", StandardFilters.Rstrip("   test"));
     Assert.AreEqual("test", StandardFilters.Rstrip("test   "));
     Assert.AreEqual("test", StandardFilters.Rstrip("test"));
     Assert.AreEqual(null, StandardFilters.Rstrip(null));
 }