coreblocks icon indicating copy to clipboard operation
coreblocks copied to clipboard

Possibility of more generic test code

Open lekcyjna123 opened this issue 2 years ago • 1 comments

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.

lekcyjna123 avatar Nov 16 '22 18:11 lekcyjna123