Example #1
0
 public void TestTrimEmpty()
 {
     var function = new TrimFunction();
     Assert.That(function.Evaluate(""), Is.EqualTo(""));
 }
Example #2
0
 public void TestTrimNull()
 {
     var function = new TrimFunction();
     Assert.That(function.Evaluate(new string[1]), Is.EqualTo(""));
 }
Example #3
0
 public void TestNothingToTrim()
 {
     var function = new TrimFunction();
     Assert.That(function.Evaluate("some text"), Is.EqualTo("some text"));
 }