Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test clean-up required. #20

Open
edanor opened this issue Dec 8, 2015 · 2 comments
Open

Unit test clean-up required. #20

edanor opened this issue Dec 8, 2015 · 2 comments

Comments

@edanor
Copy link
Owner

edanor commented Dec 8, 2015

Originally reported by: edanor (Bitbucket: edanor, GitHub: edanor)


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


@edanor
Copy link
Owner Author

edanor commented May 21, 2016

Original comment by edanor (Bitbucket: edanor, GitHub: edanor):


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

@edanor
Copy link
Owner Author

edanor commented Jun 8, 2016

Original comment by edanor (Bitbucket: edanor, GitHub: edanor):


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant