The command-line interface of the checkout system can be run in main.py
Scenarios described in the problem statement is set up in testcases.py
Modify rules.py
to update the catalogue pricing, as well as the special pricing rules.
Each special rule can be defined as a method, which changes either
- the catalogue pricing for that transaction
- the after-discount equivalent quantity of items to be paid for