You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think testing algorithms using dispatch functions is annoying to debug, one needs to spend time figuring out what the was actually called.
Any thoughs?
It is true though that writing tests is faster.
The text was updated successfully, but these errors were encountered:
I disagree. I see no problem with debugging dispatch functions. In tests, you should test both the dispatch function (general test on the corresponding operation) and each specific implementation (testing the correct implementation of the specific algorithm, perf-testing the specific algorithm, correct handling of inputs specific to that algorithm, ...).
I think testing algorithms using dispatch functions is annoying to debug, one needs to spend time figuring out what the was actually called.
Any thoughs?
It is true though that writing tests is faster.
The text was updated successfully, but these errors were encountered: