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

adding automated unit tests #31

Merged
merged 10 commits into from
Nov 22, 2023
Merged

adding automated unit tests #31

merged 10 commits into from
Nov 22, 2023

Conversation

ConnorStoneAstro
Copy link
Member

Closes #9 with unit test system run by pytest

@ConnorStoneAstro
Copy link
Member Author

Ok, the unit tests run so it mostly seems good. However there was one test test_isochrone.py that I had to fudge. @AlexaVillaume could you look into why sometimes the test isochrone has an unexpected number of elements?

@AlexaVillaume
Copy link
Collaborator

Ok, the unit tests run so it mostly seems good. However there was one test test_isochrone.py that I had to fudge. @AlexaVillaume could you look into why sometimes the test isochrone has an unexpected number of elements?

Please see the fixes I made in PR #34. I'm not 100% certain, but I think this behaviour was the result of some mix-ups with the indices while constructing the isochrone grid. I'm going to spend some time building out the unit tests for the isochrone handling but I'll merge and close this PR for now.

@AlexaVillaume AlexaVillaume merged commit 20d4de0 into main Nov 22, 2023
6 checks passed
@AlexaVillaume AlexaVillaume deleted the unittest branch November 22, 2023 18:15
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.

Actions - automated unit tests
2 participants