check50

cs50/problems/2020/x/recover


:) recover.c exists.

Log
checking that recover.c exists...

:) recover.c compiles.

Log
running clang recover.c -o recover -std=c11 -ggdb -lm -lcs50...

:) handles lack of forensic image

Log
running ./recover...
checking that program exited with status 1...

:( recovers 000.jpg correctly

Cause
recovered image does not match

Log
running ./recover card.raw...
checking that program exited with status 0...
checking that 000.jpg exists...
hashing 000.jpg...

:( recovers middle images correctly

Cause
recovered image does not match

Log
running ./recover card.raw...
checking that program exited with status 0...
checking that 001.jpg exists...
hashing 001.jpg...

:( recovers 049.jpg correctly

Cause
recovered image does not match

Log
running ./recover card.raw...
checking that program exited with status 0...
checking that 049.jpg exists...
hashing 049.jpg...