diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-22 19:41:06 +0000 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-22 19:41:06 +0000 |
commit | 10e312cb78144f4d32cde8a5588880be36c927dc (patch) | |
tree | d364744f8f2235c6ad131f0f34a7ca2063bad940 /test/regress/C927CFFE.test | |
parent | c69701cf81766b05d494eff372e67cb7983d6bcd (diff) | |
download | fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.gz fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.bz2 fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.zip |
Add more regression tests
Diffstat (limited to 'test/regress/C927CFFE.test')
-rw-r--r-- | test/regress/C927CFFE.test | 43 |
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 + |