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