diff --git a/test/255x255.png b/test/255x255.png new file mode 100644 index 0000000..a99fb5f Binary files /dev/null and b/test/255x255.png differ diff --git a/test/400x400.png b/test/400x400.png new file mode 100644 index 0000000..cab3db6 Binary files /dev/null and b/test/400x400.png differ diff --git a/test/test_function_image.py b/test/test_function_image.py index 135da9e..89fcade 100644 --- a/test/test_function_image.py +++ b/test/test_function_image.py @@ -36,3 +36,15 @@ def test_function_image_with_50x50_png(): """test the image function with 50x50.png (grayscale png)""" instance = printer.File(devfile=devfile) instance.image("test/50x50.png") + +@with_setup(setup_testfile, teardown_testfile) +def test_function_image_with_255x255_png(): + """test the image function with 255x255.png (grayscale png)""" + instance = printer.File(devfile=devfile) + instance.image("test/255x255.png") + +@with_setup(setup_testfile, teardown_testfile) +def test_function_image_with_400x400_png(): + """test the image function with 400x400.png (grayscale png)""" + instance = printer.File(devfile=devfile) + instance.image("test/400x400.png")