예제 #1
0
 public void TestConcatRhsNotEmptyLhsNull()
 {
     var function = new ConcatFunction();
     Assert.That(function.Evaluate(null, "rhs"), Is.EqualTo("rhs"));
 }
예제 #2
0
 public void TestConcatLhsNotEmptyRhsNull()
 {
     var function = new ConcatFunction();
     Assert.That(function.Evaluate("lhs", null), Is.EqualTo("lhs"));
 }
예제 #3
0
 public void TestConcatBothEmpty()
 {
     var function = new ConcatFunction();
     Assert.That(function.Evaluate("", ""), Is.EqualTo(""));
 }
예제 #4
0
 public void TestConcatBothNull()
 {
     var function = new ConcatFunction();
     Assert.That(function.Evaluate(null, null), Is.EqualTo(""));
 }
예제 #5
0
 public void TesSomethingToConcat()
 {
     var function = new ConcatFunction();
     Assert.That(function.Evaluate("lhs", "rhs"), Is.EqualTo("lhsrhs"));
 }