check50

cs50/problems/2022/python/professor


:) professor.py exists

Log
checking that professor.py exists...

:) Little Professor rejects level of 0

Log
running python3 testing.py get_level...
sending input 0...
checking that input was rejected...

:) Little Professor rejects level of 4

Log
running python3 testing.py get_level...
sending input 4...
checking that input was rejected...

:) Little Professor rejects level of "one"

Log
running python3 testing.py get_level...
sending input one...
checking that input was rejected...

:) Little Professor accepts valid level

Log
running python3 testing.py get_level...
sending input 1...
checking that program exited with status 0...
running python3 testing.py get_level...
sending input 2...
checking that program exited with status 0...
running python3 testing.py get_level...
sending input 3...
checking that program exited with status 0...

:( At Level 1, Little Professor generates addition problems using 0–9

Cause
Did not find "6 + 6 =" in "Level: 7 + 7 =..."

Log
running python3 testing.py main...
sending input 1...
checking for output "6 + 6 ="...

Could not find the following in the output:
6 + 6 =
Actual Output:
Level: 7 + 7 = 

:) At Level 2, Little Professor generates addition problems using 10–99

Log
running python3 testing.py main...
sending input 2...
checking for output "59 + 63 ="...

:) At Level 3, Little Professor generates addition problems using 100–999

Log
running python3 testing.py main...
sending input 3...
checking for output "964 + 494 ="...

:| Little Professor generates 10 problems before exiting

Cause
can't check until a frown turns upside down

:| Little Professor displays number of problems correct

Cause
can't check until a frown turns upside down

:| Little Professor displays EEE when answer is incorrect

Cause
can't check until a frown turns upside down

:| Little Professor shows solution after 3 incorrect attempts

Cause
can't check until a frown turns upside down