Test suite for Customer and Transaction datagen
I built this test suite as I have worked on speeding up the code (PR to follow, 5-6x speed improvement on transaction generation), and that is quite a bit of refactoring, so I wanted to make sure my changes did not introduce regressions.
Note this includes changes from the previous bugfix PR in queue, so please merge previous PR first and the diff will be cleaner, without changes to the code, except for the global variable definition needed for the tests to work.
Run the tests with python tests.py or pytest tests.py
Test suite for Customer and Transaction datagen I built this test suite as I have worked on speeding up the code (PR to follow, 5-6x speed improvement on transaction generation), and that is quite a bit of refactoring, so I wanted to make sure my changes did not introduce regressions.
Note this includes changes from the previous bugfix PR in queue, so please merge previous PR first and the diff will be cleaner, without changes to the code, except for the global variable definition needed for the tests to work.
Run the tests with
python tests.py
orpytest tests.py