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

Make a unified test framework for classes that inherit from Equation component #49

Open
12 tasks
eike-fokken opened this issue Mar 13, 2021 · 1 comment
Open
12 tasks

Comments

@eike-fokken
Copy link
Owner

Notes for tests for all kinds of Equationcomponents:

These tests should be implemented such that it is easy to write a new test for a new kind of equation component.

to be tested in a single framework:

  • evaluate
  • evaluate_state_derivative
  • get_number_of_states
  • set_indices
  • print_to_files
  • save_values
  • set_initial_values

to be tested for equation components themselves (make mock-eqcomponent)

  • int get_start_state_index
  • int get_after_state_index
  • push_to_values
  • get_times
  • get_values
@eike-fokken
Copy link
Owner Author

There has been some progress towards this in #55, but it is very much not done.
The progress can be found in Equationcomponent_test_helpers.hpp

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