nimPNG/tests/test_crash.nim

12 lines
230 B
Nim
Raw Normal View History

2020-05-28 14:10:44 +00:00
import ../nimPNG, unittest, os
2020-05-28 14:22:47 +00:00
proc main() =
suite "parse invalid input":
for x in walkDirRec("tests" / "invalidInput"):
let y = splitPath(x)
test y.tail:
discard loadPNG32(x)
check true
main()