示例#1
0
 public void ComparisonConstructorTest1()
 {
     Expression left = null; // TODO: Initialize to an appropriate value
     PredicateOperators op = new PredicateOperators(); // TODO: Initialize to an appropriate value
     Expression right = null; // TODO: Initialize to an appropriate value
     Comparison target = new Comparison(left, op, right);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
示例#2
0
 public void SubQueryComparisonConstructorTest()
 {
     Expression left = null; // TODO: Initialize to an appropriate value
     PredicateOperators op = new PredicateOperators(); // TODO: Initialize to an appropriate value
     ScalarSelect right = null; // TODO: Initialize to an appropriate value
     SubQueryOperator cp = new SubQueryOperator(); // TODO: Initialize to an appropriate value
     SubQueryComparison target = new SubQueryComparison(left, op, right, cp);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
示例#3
0
 public void CompareTest()
 {
     Expression left = null; // TODO: Initialize to an appropriate value
     PredicateOperators op = new PredicateOperators(); // TODO: Initialize to an appropriate value
     Expression right = null; // TODO: Initialize to an appropriate value
     Comparison expected = null; // TODO: Initialize to an appropriate value
     Comparison actual;
     actual = Comparison.Compare(left, op, right);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#4
0
 public Comparison(int left, PredicateOperators op, int right)
     : this(new ConstantTypes.Integer(left), op, new ConstantTypes.Integer(right))
 {
     //
 }
示例#5
0
 public Comparison(Expression left, PredicateOperators op, Expression right)
     : base(left, right)
 {
     Operator = op;
 }
示例#6
0
 public SubQueryComparison(Expression left, PredicateOperators op, ScalarSelect right, SubQueryOperator cp)
     : base(left, op, right)
 {
     SubQueryOperator = cp;
 }
示例#7
0
 public SubQueryComparison(Expression left, PredicateOperators op, ScalarSelect right)
     : base(left, op, right)
 {
     SubQueryOperator = SubQueryOperator.Default;
 }
示例#8
0
 public static Comparison Compare(Expression left, PredicateOperators op, Expression right)
 {
     return new Comparison(left, op, right);
 }