Skip to content

Commit

Permalink
Test fix for palette color LUT
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Apr 12, 2024
1 parent de5667f commit 081533f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ def test_construction_8bit(self):
lut = PaletteColorLUT(first_mapped_value, lut_data, color='blue')

assert len(lut.BluePaletteColorLookupTableDescriptor) == 3
assert lut.BluePaletteColorLookupTableDescriptor[0] == 0
assert lut.BluePaletteColorLookupTableDescriptor[0] == 256
assert lut.BluePaletteColorLookupTableDescriptor[1] == 0
assert lut.BluePaletteColorLookupTableDescriptor[2] == 8
assert not hasattr(lut, 'RedPaletteColorLookupTableDescriptor')
Expand Down

0 comments on commit 081533f

Please sign in to comment.