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

Add tests #12

Merged
merged 4 commits into from
Aug 18, 2021
Merged

Add tests #12

merged 4 commits into from
Aug 18, 2021

Conversation

twadleigh
Copy link
Owner

Addresses #9 #8

@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@9a4a8dd). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #12   +/-   ##
=========================================
  Coverage          ?   34.41%           
=========================================
  Files             ?        2           
  Lines             ?      215           
  Branches          ?        0           
=========================================
  Hits              ?       74           
  Misses            ?      141           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a4a8dd...71d6457. Read the comment docs.

Copy link
Collaborator

@johnnychen94 johnnychen94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Only one question on fixed point types (N0f8).

Comment on lines +62 to +65
(RGBA{Float32}, RGBA{Float16}),
(RGB{Float32}, RGB{Float16}),
(GrayA{Float32}, GrayA{Float16}),
(Gray{Float32}, Gray{Float16}),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are Gray{N0f8}/RGB{N0f8} supported here?

Copy link
Owner Author

@twadleigh twadleigh Aug 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N0f8-based colors are already tested in a section not present in the diff, in the "Lossless with type conversion" testset.

@twadleigh twadleigh marked this pull request as ready for review August 18, 2021 13:13
@twadleigh twadleigh merged commit f36f526 into master Aug 18, 2021
@twadleigh twadleigh deleted the add-tests branch August 18, 2021 13:13
This was referenced Aug 18, 2021
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.

3 participants