f
This commit is contained in:
parent
74c7b6d928
commit
d2d2fc636f
|
@ -17,14 +17,6 @@ const files = [
|
|||
"dragon2"
|
||||
]
|
||||
|
||||
# proc doDiff(rendered: Image, name: string) =
|
||||
# rendered.writeFile(&"tests/fileformats/svg/rendered/{name}.png")
|
||||
# let
|
||||
# master = readImage(&"tests/fileformats/svg/masters/{name}.png")
|
||||
# (diffScore, diffImage) = diff(master, rendered)
|
||||
# echo &"{name} score: {diffScore}"
|
||||
# diffImage.writeFile(&"tests/fileformats/svg/diffs/{name}.png")
|
||||
|
||||
for file in files:
|
||||
let image = readImage(&"tests/fileformats/svg/{file}.svg")
|
||||
image.diffVs(&"tests/fileformats/svg/masters/{file}.png")
|
||||
|
|
Loading…
Reference in a new issue