Definition at line 23 of file SqlDateExpressionTests.cs.
void Deveel.Data.Sql.Expressions.SqlDateExpressionTests.DateSmallerThanOtherDate |
( |
| ) |
|
|
inline |
Definition at line 25 of file SqlDateExpressionTests.cs.
26 const string text =
"TODATE('2013-03-01') < TODATE('2013-05-02')";
28 SqlExpression expression = null;
29 Assert.DoesNotThrow(() => expression = SqlExpression.Parse(text));
30 Assert.IsNotNull(expression);
31 Assert.IsInstanceOf<SqlBinaryExpression>(expression);
33 SqlExpression evaluated = null;
34 Assert.DoesNotThrow(() => evaluated = expression.Evaluate());
35 Assert.IsNotNull(evaluated);
37 Assert.IsInstanceOf<SqlConstantExpression>(evaluated);
39 var value = ((SqlConstantExpression) evaluated).Value;
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-nunit/Deveel.Data.Sql.Expressions/SqlDateExpressionTests.cs