Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 21, 2024
1 parent e93ee9b commit 76ff7aa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Tests/test_color_lut.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,10 @@ def test_numpy_sources(self) -> None:

table = numpy.ones((7, 6, 5, 3), dtype=numpy.float16)
lut = ImageFilter.Color3DLUT((5, 6, 7), table)
assert isinstance(lut.table, numpy.ndarray)
assert lut.table.dtype == table.dtype
assert lut.table.shape == (table.size,)
lut_table = lut.table
assert isinstance(lut_table, numpy.ndarray)
assert lut_table.dtype == table.dtype
assert lut_table.shape == (table.size,)

table = numpy.ones((7 * 6 * 5, 3), dtype=numpy.float16)
lut = ImageFilter.Color3DLUT((5, 6, 7), table)
Expand Down

0 comments on commit 76ff7aa

Please sign in to comment.