Unit test clean-up required.

Issue #22 new
edanor repo owner created an issue

There are multiple unit test fails even when running with full scalar emulation. This can be as well caused by incorrect test data sets.

Comments (2)

  1. edanor reporter

    Unit tests require all test to be done using randomly generated data (if possible). This would increase the overall coverage of tests.

  2. edanor reporter

    Some operations, such as SINCOS will by design have some error against reference value (e.g. std::sin/std::cos). This error should be expressed in ULP instead of relative error, and it is not possible to tell what is the 'correct' result.

    Such operations should, instead of testing relative error, calculate ULP error and give errors only when some user-defined error threshold is passed.

  3. Log in to comment