Skip to content

Commit 11e9cdb

Browse files
committed
Fix tests
1 parent 37611c6 commit 11e9cdb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/src/dictionary/en-custom.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ XYZ
247247
Y'CbCr
248248
YCbCr
249249
YCbCr
250+
YPbPr
250251
Yoshi
251252
ZCAM
252253
ZD
@@ -368,6 +369,7 @@ rgb
368369
sCAM
369370
sRGB
370371
sUCS
372+
sYCC
371373
seperable
372374
severities
373375
smoothstep

tests/test_roundtrip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ class Color(Base):
3232
# HCT will actually provide good conversion at about 11 decimal precision,
3333
# but certain spaces have a gamma power function that is less accurate with RGB channels near zero
3434
# (not necessarily near black): Rec. 2020, Rec. 709, etc. HCT, which approximates its inverse transform,
35-
# can emphasizes these cases and fall a little below our target of 6. This is expected.
35+
# can exasperate these cases and fall a little below our target of 6. This is expected.
3636
# To handle this in testing, we can specify more nuanced conditions. Provide the default precision,
3737
# and optional lower precision, and spaces that would trigger this lower precision.
38-
SPACES['hct'] = (10, 4, {'rec709', 'rec2020', 'a98-rgb'})
38+
SPACES['hct'] = (10, 4, {'rec709', 'rec2020', 'a98-rgb', 'ypbpr709', 'ypbpr2020'})
3939

4040
COLORS = [
4141
Color('red'),

0 commit comments

Comments
 (0)