I've completed the homework, but it seems not to work. To check the output of every image I've called one by one the test, adding only:
ex1("filename.png", "encoded_filename.png")
After I've runned the function manually the tests seems to pass without problems.
It was like the program wasn't saving the final encoded image to the "encoded_filename-xx.png", and do so only if I call the function by myself.
(If you are wondering, I haven't touched the test_random-xx.png files.)
ex1("filename.png", "encoded_filename.png")
After I've runned the function manually the tests seems to pass without problems.
It was like the program wasn't saving the final encoded image to the "encoded_filename-xx.png", and do so only if I call the function by myself.
(If you are wondering, I haven't touched the test_random-xx.png files.)