From 9c62463f84dc398b41b387fbacce31abed7e4839 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 12 Feb 2011 17:31:49 -0500 Subject: Changed testing format to aid with debugging --- test/baseline/opt-period.test | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'test/baseline/opt-period.test') diff --git a/test/baseline/opt-period.test b/test/baseline/opt-period.test index c471c5a2..7268bcce 100644 --- a/test/baseline/opt-period.test +++ b/test/baseline/opt-period.test @@ -1,5 +1,3 @@ -reg -p "january 2008" -<<< 2008/01/01 January Expenses:Books $10.00 Liabilities:Cards $10.00 @@ -239,37 +237,38 @@ reg -p "january 2008" Expenses:Books $120.00 Liabilities:Cards $120.00 Assets:Cash ->>>1 + +test reg -p "january 2008" 08-Jan-01 January Expenses:Books $10.00 $10.00 Liabilities:Cards $10.00 $20.00 Assets:Cash $-20.00 0 08-Jan-31 End of January Expenses:Books $10.00 $10.00 Liabilities:Cards $10.00 $20.00 Assets:Cash $-20.00 0 -=== 0 -reg -p "monthly january 2008" ->>>1 +end test + +test reg -p "monthly january 2008" 08-Jan-01 - 08-Jan-31 Assets:Cash $-40.00 $-40.00 Expenses:Books $20.00 $-20.00 Liabilities:Cards $20.00 0 -=== 0 -reg -p "weekly january 2008" ->>>1 +end test + +test reg -p "weekly january 2008" 08-Jan-01 - 08-Jan-05 Assets:Cash $-20.00 $-20.00 Expenses:Books $10.00 $-10.00 Liabilities:Cards $10.00 0 08-Jan-29 - 08-Jan-31 Assets:Cash $-20.00 $-20.00 Expenses:Books $10.00 $-10.00 Liabilities:Cards $10.00 0 -=== 0 -reg -p "yearly 2008" ->>>1 +end test + +test reg -p "yearly 2008" 08-Jan-01 - 08-Dec-31 Assets:Cash $-3120.00 $-3120.00 Expenses:Books $1560.00 $-1560.00 Liabilities:Cards $1560.00 0 -=== 0 -reg -p "from 2009/11/01" ->>>1 +end test + +test reg -p "from 2009/11/01" 09-Nov-01 November Expenses:Books $110.00 $110.00 Liabilities:Cards $110.00 $220.00 Assets:Cash $-220.00 0 @@ -282,3 +281,4 @@ reg -p "from 2009/11/01" 09-Dec-31 End of December Expenses:Books $120.00 $120.00 Liabilities:Cards $120.00 $240.00 Assets:Cash $-240.00 0 +end test -- cgit v1.2.3