Test case: profit sd/2020-01-01 10:00 ed/2020-012-12 10:01
Expected: The calculated profit is shown in the status message.
However, received error message. Also made sure to have at least one product as mentioned and transactions (in case).
Steps to reproduce:
1) clear all lists (customer, transaction and product) aka start from scratch
2) addc n/John p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney
3) addp d/iphone cp/400 pr/1000 q/10 s/100
4) Customer and products each have only 1 data.
5) addt c/1 p/1 q/1 dt/2020-04-11 11:44 m/30 d/under discount
6) profit sd/2020-01-01 10:00 ed/2020-012-12 10:01
7) each transaction, customer and product list should have only one data item. u will see the error message
Following test case tested from DG
Test case: profit sd/2020-01-01 10:00 ed/2020-012-12 10:01 Expected: The calculated profit is shown in the status message.
However, received error message. Also made sure to have at least one product as mentioned and transactions (in case).
Steps to reproduce:
1) clear all lists (customer, transaction and product) aka start from scratch 2) addc n/John p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney 3) addp d/iphone cp/400 pr/1000 q/10 s/100 4) Customer and products each have only 1 data. 5) addt c/1 p/1 q/1 dt/2020-04-11 11:44 m/30 d/under discount 6) profit sd/2020-01-01 10:00 ed/2020-012-12 10:01 7) each transaction, customer and product list should have only one data item. u will see the error message
[original: nus-cs2103-AY1920S2/pe-interim#1047]