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 tests for 2024/25 season endpoints #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lshandross
Copy link
Collaborator

No description provided.

Comment on lines +261 to +264
10000 + floor(0.29 * loc_pop100k),
10000 - floor(0.49 * loc_pop100k),
10000 + floor(0.69 * loc_pop100k),
10000 - floor(0.99 * loc_pop100k)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had copied the test for the 2023/24 season and modified the numbers for 2024/25, but the alternating signs for this portion of the original code (lines 41 to 44) confused me. Should they be alternating here?

Comment on lines +305 to +307
10000 + floor(2.99 * loc_pop100k),
10000 + floor(3.99 * loc_pop100k),
10000 + ceiling(1.01 * loc_pop100k)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise, I just modified the numbers here, but they didn't seem to be right in the original code (lines 113 to 115)

@lshandross lshandross requested a review from elray1 November 22, 2024 21:51
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