another test image

This commit is contained in:
array-in-a-matrix 2024-07-24 20:29:05 -04:00
parent 09591858de
commit 18216291d4
2 changed files with 7 additions and 2 deletions

1
tests/image2.jpg Normal file
View file

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD>

After

Width:  |  Height:  |  Size: 5 B

View file

@ -2,6 +2,10 @@ import std/[unittest, os, osproc]
test "Run tests":
copyFile("./tests/image.png", "./image.png")
if execCmd("cd tests && bash -c ./test_1.sh") > 0:
copyFile("./tests/image2.jpg", "./image2.jpg")
if execCmd("bash -c ./tests/test_1.sh") > 0:
fail()
removeFile("./image.png")
removeFile("./image.png")
removeFile("./image2.jpg")