Skip to content

Commit

Permalink
Skip failing deltaE tests
Browse files Browse the repository at this point in the history
The skipped tests have been failing for quite a long time (> 1 year)
so we should skip them until they're fixed.
  • Loading branch information
lloydk authored and svgeesus committed Mar 18, 2024
1 parent f3990bb commit d4d27af
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/delta.js
Expand Up @@ -88,11 +88,13 @@ export default {
expect: 0,
},
{
skip: true,
name: "barely off-white",
args: ["#fffffe", "white"],
expect: 0.7780,
},
{
skip: true,
name: "barely off-white",
args: ["#fffffe", "lab(100% 0 0)"],
expect: 0.7780,
Expand Down Expand Up @@ -123,6 +125,7 @@ export default {
expect: 37.9233,
},
{
skip: true,
name: "Sharma test 18: large color differences",
args: ["lab(50% 2.5 0)", "lab(61% -5 29)"],
expect: 34.4758,
Expand Down Expand Up @@ -407,13 +410,15 @@ export default {
<a href="http://www2.ece.rochester.edu/~gsharma/ciede2000/">http://www2.ece.rochester.edu/~gsharma/ciede2000/</a>,
to help comparison with DeltaE2000 test results.`,
data: { method: "ITP" },
skip: true,
tests: [
{
name: "100% L = 100",
args: ["white", "black"],
expect: 100,
},
{
skip: false,
name: "0%L = 0",
args: ["white", "white"],
expect: 0,
Expand Down Expand Up @@ -684,31 +689,37 @@ export default {
expect: 0.05,
},
{
skip: true,
name: "Sharma test 17: large color differences",
args: ["lab(50% 2.5 0)", "lab(73% 25 -18)"],
expect: 0.070538,
},
{
skip: true,
name: "Sharma test 18: large color differences",
args: ["lab(50% 2.5 0)", "lab(61% -5 29)"],
expect: 0.059699,
},
{
skip: true,
name: "Sharma test 19: large color differences",
args: ["lab(50% 2.5 0)", "lab(56% -27 -3)"],
expect: 0.039590,
},
{
skip: true,
name: "Sharma test 20: large color differences",
args: ["lab(50% 2.5 0)", "lab(58% 24 15)"],
expect: 0.051967,
},
{
skip: true,
name: "Brilliant Yellow with Hue error",
args: ["lab(84.25% 5.74 96.00)", "lab(84.46% 8.88 96.49)"],
expect: 0.008447,
},
{
skip: true,
name: "Brilliant Yellow with low Chroma error",
args: ["lab(84.25% 5.74 96.00)", "lab(84.52% 5.75 93.09)"],
expect: 0.002969,
Expand Down

0 comments on commit d4d27af

Please sign in to comment.