-
Notifications
You must be signed in to change notification settings - Fork 279
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
SP test for compute/ overall functionality is missing! #1036
Comments
the test should also test output on later stages, when all the (inhibition, boosting, dutyCycles,...) could have had chance to be usedd. So eg on 1st, 100th and 10k-th iterations. |
Seems like a legit proposal to ensure that the |
That sounds right, but when you are developing only for C++ ...It'd be better to have all coverage in C++ only. |
We should fully unit test everything in the C++ with C++ tests. In this case, |
@scottpurdy well, #1037 SP cleanup managed to silently corrupt that, with all unit tests passing. And that could always happen, that is why I propose a "global functionality" test along with the "atomic functionality" unit tests. EDIT: so well, I may not mean explicitly |
It is certainly not a bad idea to add a higher-level unit test around the compute function. |
In a local branch I managed to break SP's functionality with all unit-tests passing!
The tests check individual methods, but we should also verify that, the most important functionality, complex
compute()
is correct.I don't know if a simple, artificial test should be written, or the functionality of
Hello_SP_TP
, or AD in #890 can be turned into a test-case?Desired: SP.compute() is tested
The text was updated successfully, but these errors were encountered: