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

Add more tests #17

Open
1 task
vmagnin opened this issue Jan 11, 2024 · 1 comment
Open
1 task

Add more tests #17

vmagnin opened this issue Jan 11, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@vmagnin
Copy link
Owner

vmagnin commented Jan 11, 2024

  • Now that the project have a GitHub CI workflow, we should add more tests in:

https://github.com/vmagnin/forcolormap/blob/main/test/check.f90

@vmagnin vmagnin added the enhancement New feature or request label Jan 11, 2024
@vmagnin vmagnin added this to the 0.9 milestone Jan 11, 2024
@vmagnin
Copy link
Owner Author

vmagnin commented Jan 11, 2024

  • Moreover, if we want ctest to automatically use the results of check.f90, we must replace the STOP statement by the ERROR STOP statement:
if (cmap%get_levels() /= 7)    error stop "ERROR: colormap%get_levels()"

@vmagnin vmagnin modified the milestones: 0.9, 1.0 Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant