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

Conversation

facelessuser
Copy link
Collaborator

The first two test cases were miscalculated. Results were verified with the official Matlab script:
https://opticapublishing.figshare.com/articles/code/JzAzBz_m/5016299

The first two test cases were miscalculated. Results were verified with
the official Matlab script:
https://opticapublishing.figshare.com/articles/code/JzAzBz_m/5016299
Copy link

netlify bot commented Nov 28, 2023

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit a20a267
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/6565f7a708509b0008a8585a
😎 Deploy Preview https://deploy-preview-366--colorjs.netlify.app/tests/conversions
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facelessuser
Copy link
Collaborator Author

Matlab results (ran in Octave)

$ octave JzAzBz.m 0.5 0 0 r
   7.986956580720049   8.397691849554391   9.136922264117219
$ octave JzAzBz.m 1 0 0 r
   48.18778523187121   50.66587844819365   55.12588472139780
$ octave JzAzBz.m 0.1 -0.05 0.05 r
   1.085180997761661e-01   1.728735677282366e-01   7.493722855985464e-02

@LeaVerou
Copy link
Member

I requested a review from @svgeesus since that's his domain, but I'm curious to hear your experience using the new testsuite!

@svgeesus svgeesus merged commit c7efc44 into color-js:main Nov 28, 2023
4 checks passed
jgerigmeyer added a commit to oddbird/color.js that referenced this pull request Nov 29, 2023
* main:
  More consistent formatting across the codebase. (color-js#372)
  More accurate ICtCp matrices (color-js#365)
  Fix Jzazbz tests (color-js#366)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants