Skip to content

Commit

Permalink
Increase expected test data precision
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Oct 14, 2024
1 parent 5f02203 commit f6ade3a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
24 changes: 12 additions & 12 deletions js-api-spec/value/color/color-4-nonparametizable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ describe('Color 4 SassColors Non-parametizable', () => {
'display-p3',
{
'local-minde': constructors.oklch(
0.80777568417,
0.3262439045,
148.1202740275
0.8077756841698541,
0.3262439045095262,
148.12027402754507
),
clip: constructors.oklch(
0.848829286984,
0.3685278106,
145.6449503702
0.848829286984103,
0.3685278106366152,
145.64495037017775
),
},
],
Expand All @@ -43,14 +43,14 @@ describe('Color 4 SassColors Non-parametizable', () => {
'srgb',
{
'local-minde': constructors.oklch(
0.809152570179,
0.2379027576,
147.4021477687
0.809152570178515,
0.23790275760347995,
147.40214776873552
),
clip: constructors.oklch(
0.866439611536,
0.2948272403,
142.4953388878
0.8664396115356694,
0.2948272403370167,
142.49533888780996
),
},
],
Expand Down
7 changes: 5 additions & 2 deletions js-api-spec/value/color/spaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export const spaces: {
[0.5, 110, 50],
{
clip: [0.5, 100, 50],
'local-minde': [2.9140262667, 100, 52.0514687465],
'local-minde': [2.9140262667138472, 100, 52.05146874647547],
},
],
],
Expand All @@ -364,7 +364,10 @@ export const spaces: {
gamutExamples: [
[
[0.5, -3, -7],
{clip: [0.5, 0, 0], 'local-minde': [3.4921217446, 11.2665189221, 0]},
{
clip: [0.5, 0, 0],
'local-minde': [3.492121744609392, 11.26651892207301, 0],
},
],
],
},
Expand Down

0 comments on commit f6ade3a

Please sign in to comment.