Skip to content

Commit

Permalink
test: add tga-to-png runs
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 11, 2024
1 parent 27e4ecf commit 74c0a92
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ def crunch(input_path, output_path, options=[]):
crunch("test/rle-top-left.tga", "build/test/tga-to-crn/rle-top-left.crn")
crunch("test/rle-top-right.tga", "build/test/tga-to-crn/rle-top-right.crn")

mkdir("build/test/tga-to-png")
crunch("test/raw-bottom-left.tga", "build/test/tga-to-png/raw-bottom-left.png")
crunch("test/raw-bottom-right.tga", "build/test/tga-to-png/raw-bottom-right.png")
crunch("test/raw-top-left.tga", "build/test/tga-to-png/raw-top-left.png")
crunch("test/raw-top-right.tga", "build/test/tga-to-png/raw-top-right.png")
crunch("test/rle-bottom-left.tga", "build/test/tga-to-png/rle-bottom-left.png")
crunch("test/rle-bottom-right.tga", "build/test/tga-to-png/rle-bottom-right.png")
crunch("test/rle-top-left.tga", "build/test/tga-to-png/rle-top-left.png")
crunch("test/rle-top-right.tga", "build/test/tga-to-png/rle-top-right.png")

mkdir("build/test/png-to-crn")
crunch("test/test-colormap1-alpha1.png", "build/test/png-to-crn/test-colormap1-alpha1.crn")
crunch("test/test-colormap2-alpha1.png", "build/test/png-to-crn/test-colormap2-alpha1.crn")
Expand Down

0 comments on commit 74c0a92

Please sign in to comment.