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