Skip to content

Commit

Permalink
Replace test files with images with compatible license
Browse files Browse the repository at this point in the history
  • Loading branch information
REDxEYE committed Jul 23, 2022
1 parent fd86414 commit 1050d13
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified Tests/images/ati1.dds
Binary file not shown.
Binary file modified Tests/images/ati1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Tests/images/ati2.dds
Binary file not shown.
Binary file removed Tests/images/ati2.png
Binary file not shown.
6 changes: 3 additions & 3 deletions Tests/test_file_dds.py
Expand Up @@ -72,7 +72,7 @@ def test_sanity_ati1():

assert im.format == "DDS"
assert im.mode == "L"
assert im.size == (128, 128)
assert im.size == (64, 64)

assert_image_equal_tofile(im, TEST_FILE_ATI1.replace(".dds", ".png"))

Expand All @@ -85,9 +85,9 @@ def test_sanity_ati2():

assert im.format == "DDS"
assert im.mode == "RGB"
assert im.size == (128, 128)
assert im.size == (256, 256)

assert_image_equal_tofile(im, TEST_FILE_ATI2.replace(".dds", ".png"))
assert_image_equal_tofile(im, TEST_FILE_DX10_BC5_UNORM.replace(".dds", ".png"))


@pytest.mark.parametrize(
Expand Down

0 comments on commit 1050d13

Please sign in to comment.