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

Modified meal #135

Open
wants to merge 1 commit into
base: 2022/python
Choose a base branch
from
Open

Conversation

kamilkrzyskow
Copy link

Fixed the no_output test to properly check if the output is empty.

Changed the input of no_output to 8:01 because the previous tests didn't check any value that went over a meal time with minutes only. Because of that, some students only used the str hours instead of following the specification to convert the str time to float.

Changed the order of execution for no_output and made other tests rely on the results of it, to prevent students from passing meal with a solution not per the specification.

@rongxin-liu rongxin-liu added the CS50P CS50 Python label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CS50P CS50 Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants