Beispiel #1
0
        public void TestTrimEmpty()
        {
            var function = new TrimFunction();

            Assert.That(function.Evaluate(""), Is.EqualTo(""));
        }
Beispiel #2
0
        public void TestTrimNull()
        {
            var function = new TrimFunction();

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

            Assert.That(function.Evaluate("some text"), Is.EqualTo("some text"));
        }