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 initial test #21

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Add initial test #21

wants to merge 11 commits into from

Conversation

joshkamm
Copy link
Member

I'm adding a basic test to validate that the integrals match the reference files. I used pytest because I've had good experience with it and I couldn't find a C++ testing framework that looked easy to get started with. If we want to test more fine-grained than whole program inputs and outputs we'll have to reach for something more complex though. I thought about testing all of the examples but I'm prioritizing getting something merged so we at least have some automated test. I like being able to get some feedback in a few seconds so when we expand testing I'd like an option to run all tests or just a quick one.

closes #11

@joshkamm joshkamm requested a review from ndmeier25 December 14, 2024 22:10
@joshkamm joshkamm self-assigned this Dec 14, 2024
@joshkamm joshkamm linked an issue Dec 14, 2024 that may be closed by this pull request
11 tasks
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

Successfully merging this pull request may close these issues.

Add pytest to sanity check basic example
1 participant