coreblocks
coreblocks copied to clipboard
Possibility of more generic test code
See for test_mul_unit.py
in #114. There is preatty generic implementation of test pattern:
- generate random input in queue
- push one by one input from queue to unit
- check if output from unit is the same as precomputed during generation
Please analyse possibility of making this code common and rewiriting other tests to use this new common code.