formatting

This commit is contained in:
Andrew Cassidy 2021-04-07 23:21:54 -07:00
parent 7154857323
commit ac16b14a92
8 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
from _quicktex import *
from _quicktex import *

View File

@ -2,4 +2,4 @@
The s3tc module provides encoders and decoders for the common S3 Texture Compression formats. BC1-5 encoding is done
internally using a modified version of rgbcx.h.
"""
from _quicktex._s3tc import *
from _quicktex._s3tc import *

View File

@ -1,3 +1,3 @@
"""Classes for encoding/decoding BC1 textures"""
from _quicktex._s3tc._bc1 import *
from _quicktex._s3tc._bc1 import *

View File

@ -1 +1 @@
from _quicktex._s3tc._bc3 import *
from _quicktex._s3tc._bc3 import *

View File

@ -1 +1 @@
from _quicktex._s3tc._bc4 import *
from _quicktex._s3tc._bc4 import *

View File

@ -1 +1 @@
from _quicktex._s3tc._bc5 import *
from _quicktex._s3tc._bc5 import *

View File

@ -1,3 +1,3 @@
"""Classes representing various methods of interpolating BC1-3 blocks"""
from _quicktex._s3tc._interpolator import *
from _quicktex._s3tc._interpolator import *

View File

@ -139,6 +139,7 @@ class TestBC4Texture(unittest.TestCase):
class TestBC4Encoder(unittest.TestCase):
"""Test BC4Encoder"""
# 6-value blocks are not yet supported by the encoder so we only run one test
@classmethod
def setUpClass(cls):
@ -180,4 +181,3 @@ class TestBC4Decoder(unittest.TestCase):
img_hist = img_diff.histogram()
self.assertEqual(16, img_hist[0], 'decoded block is incorrect')