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

Generic tests for algorithms implementation #749

Open
guimarqu opened this issue Nov 24, 2022 · 0 comments
Open

Generic tests for algorithms implementation #749

guimarqu opened this issue Nov 24, 2022 · 0 comments

Comments

@guimarqu
Copy link
Contributor

When I tried to use the regular storage in #748, I experienced how painful the implementation of a new algorithm is. The first reason is obviously a lack of documentation, the second is that you need to run the algorithm to make sure that you implement the "API". To waste less time, it would be nice to have a generic integration test for algorithms that test the following methods:

  • run!
  • get_child_algorithm
  • get_unit_usages
  • make sure that we can access data stored in the unit storages used by the algorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant