From 8dbeb91493cebd461fed15e66bde685b3edec0fd Mon Sep 17 00:00:00 2001 From: tripun Date: Thu, 7 Aug 2014 00:39:29 +0530 Subject: Add --actual-dates tests --- test/baseline/opt-primary-date.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/baseline') diff --git a/test/baseline/opt-primary-date.test b/test/baseline/opt-primary-date.test index ae9e1dea..e433a8f9 100644 --- a/test/baseline/opt-primary-date.test +++ b/test/baseline/opt-primary-date.test @@ -30,6 +30,10 @@ test bal Income --primary-date --effective --begin 2014/01/01 --end 2014/01/14 $ -200.00 Income: Client ABC end test +test bal Income --actual-dates --effective --begin 2014/01/01 --end 2014/01/14 + $ -200.00 Income: Client ABC +end test + test reg Income --begin 2014/01/01 --end 2014/01/14 14-Jan-01 Client invoice Income: Client ABC $ -100.00 $ -100.00 14-Jan-01 Client invoice Income: Client ABC $ -100.00 $ -200.00 @@ -44,6 +48,11 @@ test reg Income --primary-date --effective --begin 2014/01/01 --end 2014/01/14 14-Jan-01 Client invoice Income: Client ABC $ -100.00 $ -200.00 end test +test reg Income --actual-dates --effective --begin 2014/01/01 --end 2014/01/14 +14-Jan-01 Client invoice Income: Client ABC $ -100.00 $ -100.00 +14-Jan-01 Client invoice Income: Client ABC $ -100.00 $ -200.00 +end test + test reg checking 13-Oct-16 Bountiful Blessings.. Assets:Checking $ -225.00 $ -225.00 end test @@ -79,3 +88,12 @@ test register Groceries --primary-date --effective Expense:Food:Groceries $ 37.50 $ 225.00 end test +test register Groceries --actual-dates --effective +13-Oct-16 Bountiful Blessings.. Expense:Food:Groceries $ 37.50 $ 37.50 + Expense:Food:Groceries $ 37.50 $ 75.00 + Expense:Food:Groceries $ 37.50 $ 112.50 + Expense:Food:Groceries $ 37.50 $ 150.00 + Expense:Food:Groceries $ 37.50 $ 187.50 + Expense:Food:Groceries $ 37.50 $ 225.00 +end test + -- cgit v1.2.3