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 UTC tests for main moon phases #17

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

mannylopez
Copy link
Owner

@mannylopez mannylopez commented Jun 3, 2024

Adding tests for the major moon phases for 2024, in UTC. Taken from https://www.timeanddate.com/moon/phases/timezone/utc

image

Results so far

Less precise Julian Day method

correct incorrect % correct
newMoon 7 6 54%
firstQuarter 2 10 17%
fullMoon 7 5 58%
lastQuarter 5 8 38%

More precise Julian Day method, from #16

correct incorrect % correct
newMoon 0 13 0%
firstQuarter 9 3 75%
fullMoon 6 6 50%
lastQuarter 5 8 38%

@mannylopez mannylopez merged commit ff7ef6d into main Jun 3, 2024
@mannylopez mannylopez mentioned this pull request Jun 3, 2024
25 tasks
@mannylopez mannylopez deleted the tests-for-utc-phases branch June 3, 2024 01:11
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.

1 participant