waylonflinn/weblas

Add Unit Tests - Simple

waylonflinn opened this issue · 1 comments

Simple unit test coverage, with a small upper bound on runtime (< 1 min)

  1. various sizes (64 - 1024)
  2. square / non-square
  3. range of numbers (0.001 -> 100.0)

Resources

micro suite implemented.

machinery was also created to make it easy to write larger test suites.

to create another test suite:

  • define a config file (like micro.json )
  • run the generator with the new config ./generator.py large.json
  • change the test file to reference the new config file: gemmfloatcalculator