예제 #1
0
 public void TestNullSubString()
 {
     var function = new ContainsFunction();
     Assert.That(function.Evaluate("a", null), Is.EqualTo(true));
 }
예제 #2
0
 public void TestNullBoth()
 {
     var function = new ContainsFunction();
     Assert.That(function.Evaluate(null, null), Is.EqualTo(true));
 }
예제 #3
0
 public void TestNullSource()
 {
     var function = new ContainsFunction();
     Assert.That(function.Evaluate(null, "a"), Is.EqualTo(false));
 }
예제 #4
0
 public void TestNotContains()
 {
     var function = new ContainsFunction();
     Assert.That(function.Evaluate("abcefg", "d"), Is.EqualTo(false));
 }