Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip failing deltaE tests #483

Merged
merged 1 commit into from Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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