aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/compare/logical2.cmp
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/compare/logical2.cmp')
-rw-r--r--velocity-engine-core/src/test/resources/templates/compare/logical2.cmp133
1 files changed, 133 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/compare/logical2.cmp b/velocity-engine-core/src/test/resources/templates/compare/logical2.cmp
new file mode 100644
index 00000000..03828913
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/compare/logical2.cmp
@@ -0,0 +1,133 @@
+
+
+
+ $foo is greater then 1
+
+ $foo is less than 10
+
+ $foo is great than or equal to 5
+
+ $foo is less than or equal to 5
+
+
+ foo is false
+
+--
+
+
+Logical OR :
+
+ right
+
+ right
+
+ right
+
+ right
+
+ right
+
+ right
+
+Logical AND :
+
+ right
+
+ right
+
+ right
+
+ right
+
+ right
+
+ right
+
+ right
+
+ right
+
+----------
+equivalence
+-----------
+
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+-----------
+comparisons
+-----------
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+right
+
+----------------------
+goofy but legal stuff
+----------------------
+Should equal true : true
+
+Should equal true : true
+
+Should equal true : true
+
+Should equal true : true
+
+
+
+right
+
+
+right
+
+Test to see if we can do logical assignment from any expression
+
+right
+
+right
+
+
+right
+
+
+right
+
+right
+
+right