diff options
author | Ian2020 <Ian2020@users.noreply.github.com> | 2023-11-29 13:12:24 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-06 11:08:15 -1000 |
commit | 762353945a744ae4b89970b9e08c2c22a52ddbff (patch) | |
tree | 1e3cc5fcbe4f89c5134f0fcb7a5f7ba3a8fb372d /test | |
parent | b7be0a1fedfeec26e4b7d35357157d5a9209f3ee (diff) | |
download | fork-ledger-762353945a744ae4b89970b9e08c2c22a52ddbff.tar.gz fork-ledger-762353945a744ae4b89970b9e08c2c22a52ddbff.tar.bz2 fork-ledger-762353945a744ae4b89970b9e08c2c22a52ddbff.zip |
Add new --align-intervals option.
Diffstat (limited to 'test')
-rw-r--r-- | test/baseline/opt-align-intervals.test | 293 |
1 files changed, 293 insertions, 0 deletions
diff --git a/test/baseline/opt-align-intervals.test b/test/baseline/opt-align-intervals.test new file mode 100644 index 00000000..7a11c8e6 --- /dev/null +++ b/test/baseline/opt-align-intervals.test @@ -0,0 +1,293 @@ +2008/01/01 January + Expenses:Books $10.00 + Liabilities:Cards $10.00 + Assets:Cash + +2008/01/31 End of January + Expenses:Books $10.00 + Liabilities:Cards $10.00 + Assets:Cash + +2008/02/01 February + Expenses:Books $20.00 + Liabilities:Cards $20.00 + Assets:Cash + +2008/02/28 End of February + Expenses:Books $20.00 + Liabilities:Cards $20.00 + Assets:Cash + +2008/03/01 March + Expenses:Books $30.00 + Liabilities:Cards $30.00 + Assets:Cash + +2008/03/31 End of March + Expenses:Books $30.00 + Liabilities:Cards $30.00 + Assets:Cash + +2008/04/01 April + Expenses:Books $40.00 + Liabilities:Cards $40.00 + Assets:Cash + +2008/04/30 End of April + Expenses:Books $40.00 + Liabilities:Cards $40.00 + Assets:Cash + +2008/05/01 May + Expenses:Books $50.00 + Liabilities:Cards $50.00 + Assets:Cash + +2008/05/31 End of May + Expenses:Books $50.00 + Liabilities:Cards $50.00 + Assets:Cash + +2008/06/01 June + Expenses:Books $60.00 + Liabilities:Cards $60.00 + Assets:Cash + +2008/06/30 End of June + Expenses:Books $60.00 + Liabilities:Cards $60.00 + Assets:Cash + +2008/07/01 July + Expenses:Books $70.00 + Liabilities:Cards $70.00 + Assets:Cash + +2008/07/31 End of July + Expenses:Books $70.00 + Liabilities:Cards $70.00 + Assets:Cash + +2008/08/01 August + Expenses:Books $80.00 + Liabilities:Cards $80.00 + Assets:Cash + +2008/08/31 End of August + Expenses:Books $80.00 + Liabilities:Cards $80.00 + Assets:Cash + +2008/09/01 September + Expenses:Books $90.00 + Liabilities:Cards $90.00 + Assets:Cash + +2008/09/30 End of September + Expenses:Books $90.00 + Liabilities:Cards $90.00 + Assets:Cash + +2008/10/01 October + Expenses:Books $100.00 + Liabilities:Cards $100.00 + Assets:Cash + +2008/10/31 End of October + Expenses:Books $100.00 + Liabilities:Cards $100.00 + Assets:Cash + +2008/11/01 November + Expenses:Books $110.00 + Liabilities:Cards $110.00 + Assets:Cash + +2008/11/30 End of November + Expenses:Books $110.00 + Liabilities:Cards $110.00 + Assets:Cash + +2008/12/01 December + Expenses:Books $120.00 + Liabilities:Cards $120.00 + Assets:Cash + +2008/12/31 End of December + Expenses:Books $120.00 + Liabilities:Cards $120.00 + Assets:Cash + +2009/01/01 January + Expenses:Books $10.00 + Liabilities:Cards $10.00 + Assets:Cash + +2009/01/31 End of January + Expenses:Books $10.00 + Liabilities:Cards $10.00 + Assets:Cash + +2009/02/01 February + Expenses:Books $20.00 + Liabilities:Cards $20.00 + Assets:Cash + +2009/02/28 End of February + Expenses:Books $20.00 + Liabilities:Cards $20.00 + Assets:Cash + +2009/03/01 March + Expenses:Books $30.00 + Liabilities:Cards $30.00 + Assets:Cash + +2009/03/31 End of March + Expenses:Books $30.00 + Liabilities:Cards $30.00 + Assets:Cash + +2009/04/01 April + Expenses:Books $40.00 + Liabilities:Cards $40.00 + Assets:Cash + +2009/04/30 End of April + Expenses:Books $40.00 + Liabilities:Cards $40.00 + Assets:Cash + +2009/05/01 May + Expenses:Books $50.00 + Liabilities:Cards $50.00 + Assets:Cash + +2009/05/31 End of May + Expenses:Books $50.00 + Liabilities:Cards $50.00 + Assets:Cash + +2009/06/01 June + Expenses:Books $60.00 + Liabilities:Cards $60.00 + Assets:Cash + +2009/06/30 End of June + Expenses:Books $60.00 + Liabilities:Cards $60.00 + Assets:Cash + +2009/07/01 July + Expenses:Books $70.00 + Liabilities:Cards $70.00 + Assets:Cash + +2009/07/31 End of July + Expenses:Books $70.00 + Liabilities:Cards $70.00 + Assets:Cash + +2009/08/01 August + Expenses:Books $80.00 + Liabilities:Cards $80.00 + Assets:Cash + +2009/08/31 End of August + Expenses:Books $80.00 + Liabilities:Cards $80.00 + Assets:Cash + +2009/09/01 September + Expenses:Books $90.00 + Liabilities:Cards $90.00 + Assets:Cash + +2009/09/30 End of September + Expenses:Books $90.00 + Liabilities:Cards $90.00 + Assets:Cash + +2009/10/01 October + Expenses:Books $100.00 + Liabilities:Cards $100.00 + Assets:Cash + +2009/10/31 End of October + Expenses:Books $100.00 + Liabilities:Cards $100.00 + Assets:Cash + +2009/11/01 November + Expenses:Books $110.00 + Liabilities:Cards $110.00 + Assets:Cash + +2009/11/30 End of November + Expenses:Books $110.00 + Liabilities:Cards $110.00 + Assets:Cash + +2009/12/01 December + Expenses:Books $120.00 + Liabilities:Cards $120.00 + Assets:Cash + +2009/12/31 End of December + Expenses:Books $120.00 + Liabilities:Cards $120.00 + Assets:Cash + +test reg -p "weekly from 2009/11/26" --align-intervals +09-Nov-26 - 09-Dec-02 Assets:Cash $-460.00 $-460.00 + Expenses:Books $230.00 $-230.00 + Liabilities:Cards $230.00 0 +09-Dec-31 - 10-Jan-06 Assets:Cash $-240.00 $-240.00 + Expenses:Books $120.00 $-120.00 + Liabilities:Cards $120.00 0 +end test + +test reg -p "monthly from 2009/11/15" --align-intervals +09-Nov-15 - 09-Dec-14 Assets:Cash $-460.00 $-460.00 + Expenses:Books $230.00 $-230.00 + Liabilities:Cards $230.00 0 +09-Dec-15 - 10-Jan-14 Assets:Cash $-240.00 $-240.00 + Expenses:Books $120.00 $-120.00 + Liabilities:Cards $120.00 0 +end test + +test reg -p "quarterly from 2008/01/15" --align-intervals +08-Jan-15 - 08-Apr-14 Assets:Cash $-300.00 $-300.00 + Expenses:Books $150.00 $-150.00 + Liabilities:Cards $150.00 0 +08-Apr-15 - 08-Jul-14 Assets:Cash $-660.00 $-660.00 + Expenses:Books $330.00 $-330.00 + Liabilities:Cards $330.00 0 +08-Jul-15 - 08-Oct-14 Assets:Cash $-1020.00 $-1020.00 + Expenses:Books $510.00 $-510.00 + Liabilities:Cards $510.00 0 +08-Oct-15 - 09-Jan-14 Assets:Cash $-1140.00 $-1140.00 + Expenses:Books $570.00 $-570.00 + Liabilities:Cards $570.00 0 +09-Jan-15 - 09-Apr-14 Assets:Cash $-300.00 $-300.00 + Expenses:Books $150.00 $-150.00 + Liabilities:Cards $150.00 0 +09-Apr-15 - 09-Jul-14 Assets:Cash $-660.00 $-660.00 + Expenses:Books $330.00 $-330.00 + Liabilities:Cards $330.00 0 +09-Jul-15 - 09-Oct-14 Assets:Cash $-1020.00 $-1020.00 + Expenses:Books $510.00 $-510.00 + Liabilities:Cards $510.00 0 +09-Oct-15 - 10-Jan-14 Assets:Cash $-1120.00 $-1120.00 + Expenses:Books $560.00 $-560.00 + Liabilities:Cards $560.00 0 +end test + +test reg -p "yearly from 2008/02/28" --align-intervals +08-Feb-28 - 09-Feb-27 Assets:Cash $-3120.00 $-3120.00 + Expenses:Books $1560.00 $-1560.00 + Liabilities:Cards $1560.00 0 +09-Feb-28 - 10-Feb-27 Assets:Cash $-3040.00 $-3040.00 + Expenses:Books $1520.00 $-1520.00 + Liabilities:Cards $1520.00 0 +end test |