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

Fix Jzazbz tests #366

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions test/conversions.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ const tests = {
tests: [
{
args: ["color(jzazbz 0.5 0 0)", "xyz-d65"],
expect: [8.103011, 8.39796, 6.924744]
expect: [7.986957, 8.397692, 9.136922]
},
{
args: ["color(jzazbz 1 0 0)", "xyz-d65"],
expect: [48.887976, 50.667498, 41.779127]
expect: [48.187785, 50.665878, 55.125885]
},
{
args: ["color(jzazbz 0.1 -0.05 0.05)", "xyz-d65"],
Expand Down
4 changes: 2 additions & 2 deletions tests/conversions.html
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ <h1>Jzazbz</h1>
convertToXYZ();
</script>
</td>
<td>8.103011, 8.39796, 6.924744</td>
<td>7.986957, 8.397692, 9.136922</td>
</tr>
<tr title="Jzazbz to XYZ">
<td>color(jzazbz 1 0 0)</td>
Expand All @@ -428,7 +428,7 @@ <h1>Jzazbz</h1>
convertToXYZ();
</script>
</td>
<td>48.887976, 50.667498, 41.779127</td>
<td>48.187785, 50.665878, 55.125885</td>
</tr>
<tr title="Jzazbz to XYZ">
<td>color(jzazbz 0.1 -0.05 0.05)</td>
Expand Down