diff options
-rw-r--r-- | test/baseline/opt-begin.test | 240 | ||||
-rw-r--r-- | test/baseline/opt-by-payee.test | 220 | ||||
-rw-r--r-- | test/baseline/opt-cost.test | 10 |
3 files changed, 470 insertions, 0 deletions
diff --git a/test/baseline/opt-begin.test b/test/baseline/opt-begin.test new file mode 100644 index 00000000..651f3a59 --- /dev/null +++ b/test/baseline/opt-begin.test @@ -0,0 +1,240 @@ +reg --args-only --columns=80 --begin=2009/02 +<<< +2008/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2008/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2008/02/01 February + Expenses:Books $20.00 + Assets:Cash + +2008/02/28 End of February + Expenses:Books $20.00 + Assets:Cash + +2008/03/01 March + Expenses:Books $30.00 + Assets:Cash + +2008/03/31 End of March + Expenses:Books $30.00 + Assets:Cash + +2008/04/01 April + Expenses:Books $40.00 + Assets:Cash + +2008/04/30 End of April + Expenses:Books $40.00 + Assets:Cash + +2008/05/01 May + Expenses:Books $50.00 + Assets:Cash + +2008/05/31 End of May + Expenses:Books $50.00 + Assets:Cash + +2008/06/01 June + Expenses:Books $60.00 + Assets:Cash + +2008/06/30 End of June + Expenses:Books $60.00 + Assets:Cash + +2008/07/01 July + Expenses:Books $70.00 + Assets:Cash + +2008/07/31 End of July + Expenses:Books $70.00 + Assets:Cash + +2008/08/01 August + Expenses:Books $80.00 + Assets:Cash + +2008/08/31 End of August + Expenses:Books $80.00 + Assets:Cash + +2008/09/01 September + Expenses:Books $90.00 + Assets:Cash + +2008/09/30 End of September + Expenses:Books $90.00 + Assets:Cash + +2008/10/01 October + Expenses:Books $100.00 + Assets:Cash + +2008/10/31 End of October + Expenses:Books $100.00 + Assets:Cash + +2008/11/01 November + Expenses:Books $110.00 + Assets:Cash + +2008/11/30 End of November + Expenses:Books $110.00 + Assets:Cash + +2008/12/01 December + Expenses:Books $120.00 + Assets:Cash + +2008/12/31 End of December + Expenses:Books $120.00 + Assets:Cash + +2009/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2009/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2009/02/01 February + Expenses:Books $20.00 + Assets:Cash + +2009/02/28 End of February + Expenses:Books $20.00 + Assets:Cash + +2009/03/01 March + Expenses:Books $30.00 + Assets:Cash + +2009/03/31 End of March + Expenses:Books $30.00 + Assets:Cash + +2009/04/01 April + Expenses:Books $40.00 + Assets:Cash + +2009/04/30 End of April + Expenses:Books $40.00 + Assets:Cash + +2009/05/01 May + Expenses:Books $50.00 + Assets:Cash + +2009/05/31 End of May + Expenses:Books $50.00 + Assets:Cash + +2009/06/01 June + Expenses:Books $60.00 + Assets:Cash + +2009/06/30 End of June + Expenses:Books $60.00 + Assets:Cash + +2009/07/01 July + Expenses:Books $70.00 + Assets:Cash + +2009/07/31 End of July + Expenses:Books $70.00 + Assets:Cash + +2009/08/01 August + Expenses:Books $80.00 + Assets:Cash + +2009/08/31 End of August + Expenses:Books $80.00 + Assets:Cash + +2009/09/01 September + Expenses:Books $90.00 + Assets:Cash + +2009/09/30 End of September + Expenses:Books $90.00 + Assets:Cash + +2009/10/01 October + Expenses:Books $100.00 + Assets:Cash + +2009/10/31 End of October + Expenses:Books $100.00 + Assets:Cash + +2009/11/01 November + Expenses:Books $110.00 + Assets:Cash + +2009/11/30 End of November + Expenses:Books $110.00 + Assets:Cash + +2009/12/01 December + Expenses:Books $120.00 + Assets:Cash + +2009/12/31 End of December + Expenses:Books $120.00 + Assets:Cash +>>>1 +09-Feb-01 February Expenses:Books $20.00 $20.00 + Assets:Cash $-20.00 0 +09-Feb-28 End of February Expenses:Books $20.00 $20.00 + Assets:Cash $-20.00 0 +09-Mar-01 March Expenses:Books $30.00 $30.00 + Assets:Cash $-30.00 0 +09-Mar-31 End of March Expenses:Books $30.00 $30.00 + Assets:Cash $-30.00 0 +09-Apr-01 April Expenses:Books $40.00 $40.00 + Assets:Cash $-40.00 0 +09-Apr-30 End of April Expenses:Books $40.00 $40.00 + Assets:Cash $-40.00 0 +09-May-01 May Expenses:Books $50.00 $50.00 + Assets:Cash $-50.00 0 +09-May-31 End of May Expenses:Books $50.00 $50.00 + Assets:Cash $-50.00 0 +09-Jun-01 June Expenses:Books $60.00 $60.00 + Assets:Cash $-60.00 0 +09-Jun-30 End of June Expenses:Books $60.00 $60.00 + Assets:Cash $-60.00 0 +09-Jul-01 July Expenses:Books $70.00 $70.00 + Assets:Cash $-70.00 0 +09-Jul-31 End of July Expenses:Books $70.00 $70.00 + Assets:Cash $-70.00 0 +09-Aug-01 August Expenses:Books $80.00 $80.00 + Assets:Cash $-80.00 0 +09-Aug-31 End of August Expenses:Books $80.00 $80.00 + Assets:Cash $-80.00 0 +09-Sep-01 September Expenses:Books $90.00 $90.00 + Assets:Cash $-90.00 0 +09-Sep-30 End of September Expenses:Books $90.00 $90.00 + Assets:Cash $-90.00 0 +09-Oct-01 October Expenses:Books $100.00 $100.00 + Assets:Cash $-100.00 0 +09-Oct-31 End of October Expenses:Books $100.00 $100.00 + Assets:Cash $-100.00 0 +09-Nov-01 November Expenses:Books $110.00 $110.00 + Assets:Cash $-110.00 0 +09-Nov-30 End of November Expenses:Books $110.00 $110.00 + Assets:Cash $-110.00 0 +09-Dec-01 December Expenses:Books $120.00 $120.00 + Assets:Cash $-120.00 0 +09-Dec-31 End of December Expenses:Books $120.00 $120.00 + Assets:Cash $-120.00 0 +>>>2 +=== 0 diff --git a/test/baseline/opt-by-payee.test b/test/baseline/opt-by-payee.test new file mode 100644 index 00000000..1f0803c8 --- /dev/null +++ b/test/baseline/opt-by-payee.test @@ -0,0 +1,220 @@ +reg --args-only --columns=80 --by-payee not @End +<<< +2008/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2008/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2008/02/01 February + Expenses:Books $20.00 + Assets:Cash + +2008/02/28 End of February + Expenses:Books $20.00 + Assets:Cash + +2008/03/01 March + Expenses:Books $30.00 + Assets:Cash + +2008/03/31 End of March + Expenses:Books $30.00 + Assets:Cash + +2008/04/01 April + Expenses:Books $40.00 + Assets:Cash + +2008/04/30 End of April + Expenses:Books $40.00 + Assets:Cash + +2008/05/01 May + Expenses:Books $50.00 + Assets:Cash + +2008/05/31 End of May + Expenses:Books $50.00 + Assets:Cash + +2008/06/01 June + Expenses:Books $60.00 + Assets:Cash + +2008/06/30 End of June + Expenses:Books $60.00 + Assets:Cash + +2008/07/01 July + Expenses:Books $70.00 + Assets:Cash + +2008/07/31 End of July + Expenses:Books $70.00 + Assets:Cash + +2008/08/01 August + Expenses:Books $80.00 + Assets:Cash + +2008/08/31 End of August + Expenses:Books $80.00 + Assets:Cash + +2008/09/01 September + Expenses:Books $90.00 + Assets:Cash + +2008/09/30 End of September + Expenses:Books $90.00 + Assets:Cash + +2008/10/01 October + Expenses:Books $100.00 + Assets:Cash + +2008/10/31 End of October + Expenses:Books $100.00 + Assets:Cash + +2008/11/01 November + Expenses:Books $110.00 + Assets:Cash + +2008/11/30 End of November + Expenses:Books $110.00 + Assets:Cash + +2008/12/01 December + Expenses:Books $120.00 + Assets:Cash + +2008/12/31 End of December + Expenses:Books $120.00 + Assets:Cash + +2009/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2009/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2009/02/01 February + Expenses:Books $20.00 + Assets:Cash + +2009/02/28 End of February + Expenses:Books $20.00 + Assets:Cash + +2009/03/01 March + Expenses:Books $30.00 + Assets:Cash + +2009/03/31 End of March + Expenses:Books $30.00 + Assets:Cash + +2009/04/01 April + Expenses:Books $40.00 + Assets:Cash + +2009/04/30 End of April + Expenses:Books $40.00 + Assets:Cash + +2009/05/01 May + Expenses:Books $50.00 + Assets:Cash + +2009/05/31 End of May + Expenses:Books $50.00 + Assets:Cash + +2009/06/01 June + Expenses:Books $60.00 + Assets:Cash + +2009/06/30 End of June + Expenses:Books $60.00 + Assets:Cash + +2009/07/01 July + Expenses:Books $70.00 + Assets:Cash + +2009/07/31 End of July + Expenses:Books $70.00 + Assets:Cash + +2009/08/01 August + Expenses:Books $80.00 + Assets:Cash + +2009/08/31 End of August + Expenses:Books $80.00 + Assets:Cash + +2009/09/01 September + Expenses:Books $90.00 + Assets:Cash + +2009/09/30 End of September + Expenses:Books $90.00 + Assets:Cash + +2009/10/01 October + Expenses:Books $100.00 + Assets:Cash + +2009/10/31 End of October + Expenses:Books $100.00 + Assets:Cash + +2009/11/01 November + Expenses:Books $110.00 + Assets:Cash + +2009/11/30 End of November + Expenses:Books $110.00 + Assets:Cash + +2009/12/01 December + Expenses:Books $120.00 + Assets:Cash + +2009/12/31 End of December + Expenses:Books $120.00 + Assets:Cash +>>>1 +08-Apr-01 April Assets:Cash $-80.00 $-80.00 + Expenses:Books $80.00 0 +08-Aug-01 August Assets:Cash $-160.00 $-160.00 + Expenses:Books $160.00 0 +08-Dec-01 December Assets:Cash $-240.00 $-240.00 + Expenses:Books $240.00 0 +08-Feb-01 February Assets:Cash $-40.00 $-40.00 + Expenses:Books $40.00 0 +08-Jan-01 January Assets:Cash $-20.00 $-20.00 + Expenses:Books $20.00 0 +08-Jul-01 July Assets:Cash $-140.00 $-140.00 + Expenses:Books $140.00 0 +08-Jun-01 June Assets:Cash $-120.00 $-120.00 + Expenses:Books $120.00 0 +08-Mar-01 March Assets:Cash $-60.00 $-60.00 + Expenses:Books $60.00 0 +08-May-01 May Assets:Cash $-100.00 $-100.00 + Expenses:Books $100.00 0 +08-Nov-01 November Assets:Cash $-220.00 $-220.00 + Expenses:Books $220.00 0 +08-Oct-01 October Assets:Cash $-200.00 $-200.00 + Expenses:Books $200.00 0 +08-Sep-01 September Assets:Cash $-180.00 $-180.00 + Expenses:Books $180.00 0 +>>>2 +=== 0 diff --git a/test/baseline/opt-cost.test b/test/baseline/opt-cost.test new file mode 100644 index 00000000..d329c284 --- /dev/null +++ b/test/baseline/opt-cost.test @@ -0,0 +1,10 @@ +bal --args-only --cost +<<< +2007/02/02 RD VMMXX + Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00 + Income:Dividends:Vanguard:VMMXX $-0.35 +>>>1 + $0.35 Assets:Investments:Vanguard:VMMXX + $-0.35 Income:Dividends:Vanguard:VMMXX +>>>2 +=== 0 |