test for day 4

This commit is contained in:
2018-12-04 22:15:53 +01:00
parent ccdb654622
commit d73adaf7b6
2 changed files with 11 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,2 +1,12 @@
import os
from PIL import Image
from luke_04.LSB import main
path = os.path.dirname(__file__)
def test_answer():
assert False
solution_path = os.path.join(path, 'images/solution-pokemon_jakt.png')
solution_image = Image.open(solution_path)
answer_image = Image.open(main())
assert solution_image.tobytes == answer_image.tobytes