check50

cs50/problems/2022/python/outdated


:) outdated.py exists

Log
checking that outdated.py exists...

:) input of 9/8/1636 outputs 1636-09-08

Log
running python3 outdated.py...
sending input 9/8/1636...
checking for output "1636-09-08"...

:) input of September 8, 1636 outputs 1636-09-08

Log
running python3 outdated.py...
sending input September 8, 1636...
checking for output "1636-09-08"...

:) input of 10/9/1701 outputs 1701-10-09

Log
running python3 outdated.py...
sending input 10/9/1701...
checking for output "1701-10-09"...

:) input of October 9, 1701 outputs 1701-10-09

Log
running python3 outdated.py...
sending input October 9, 1701...
checking for output "1701-10-09"...

:) input of " 9/8/1636 " outputs 1636-09-08

Log
running python3 outdated.py...
sending input 9/8/1636 ...
checking for output "1636-09-08"...

:) input of 23/6/1912 results in reprompt

Log
running python3 outdated.py...
sending input 23/6/1912...
checking that input was rejected...

:) input of 10 December, 1815 results in reprompt

Log
running python3 outdated.py...
sending input 10 December, 1815...
checking that input was rejected...

:( input of October/9/1701 results in reprompt

Cause
expected program to reject input, but it did not

Log
running python3 outdated.py...
sending input October/9/1701...
checking that input was rejected...

:) input of 1/50/2000 results in reprompt

Log
running python3 outdated.py...
sending input 1/50/2000...
checking that input was rejected...

:) input of December 80, 1980 results in reprompt

Log
running python3 outdated.py...
sending input December 80, 1980...
checking that input was rejected...

:( input of September 8 1636 results in reprompt

Cause
expected program to reject input, but it did not

Log
running python3 outdated.py...
sending input September 8 1636...
checking that input was rejected...