summaryrefslogtreecommitdiff
path: root/test/regress/C927CFFE.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/C927CFFE.test')
-rw-r--r--test/regress/C927CFFE.test43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/regress/C927CFFE.test b/test/regress/C927CFFE.test
new file mode 100644
index 00000000..d455b480
--- /dev/null
+++ b/test/regress/C927CFFE.test
@@ -0,0 +1,43 @@
+
+2010/02/09 * Test 1
+ A $10
+ B
+
+2010/02/10 * Test 2
+ B $10
+ C
+
+2010/02/11 * Test 3
+ C $10
+ D
+
+test reg
+test -l "date>=[2010/02/10]" reg
+10-Feb-10 Test 2 B $10 $10
+ C $-10 0
+10-Feb-11 Test 3 C $10 $10
+ D $-10 0
+end test
+
+test -l "date<=[2010/02/10]" reg
+10-Feb-09 Test 1 A $10 $10
+ B $-10 0
+10-Feb-10 Test 2 B $10 $10
+ C $-10 0
+end test
+
+test -l "date==[2010/02/10]" reg
+10-Feb-10 Test 2 B $10 $10
+ C $-10 0
+end test
+
+test -l "date>[2010/02/10]" reg
+10-Feb-11 Test 3 C $10 $10
+ D $-10 0
+end test
+
+test -l "date<[2010/02/10]" reg
+10-Feb-09 Test 1 A $10 $10
+ B $-10 0
+end test
+