Add --actual-dates tests

This commit is contained in:
tripun 2014-08-07 00:39:29 +05:30 committed by Martin Michlmayr
parent 1b84d960a3
commit 8dbeb91493

View file

@ -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