check50

cs50/problems/2022/python/meal


:) meal.py exists

Log
checking that meal.py exists...

:) convert successfully returns decimal hours

Log
running python3 testing.py...
sending input 7:30...
checking for output "7.5"...
running python3 testing.py...
sending input 14:15...
checking for output "14.25"...
running python3 testing.py...
sending input 22:00...
checking for output "22.0"...

:( input of 7:00 yields output of "breakfast time"

Cause
expected "breakfast time...", not "7.0\nbreakfast..."

Log
running python3 meal.py...
sending input 7:00...
checking for output "breakfast time"...

Expected Output:
breakfast time
Actual Output:
7.0
breakfast time

:( input of 7:30 yields output of "breakfast time"

Cause
expected "breakfast time...", not "7.5\nbreakfast..."

Log
running python3 meal.py...
sending input 7:30...
checking for output "breakfast time"...

Expected Output:
breakfast time
Actual Output:
7.5
breakfast time

:) input of 13:00 yields output of "lunch time"

Log
running python3 meal.py...
sending input 13:00...
checking for output "lunch time"...

:) input of 18:32 yields output of "dinner time"

Log
running python3 meal.py...
sending input 18:32...
checking for output "dinner time"...

:) input of 11:11 yields no output

Log
running python3 meal.py...
sending input 11:11...
checking for output ""...