JuliaGraphics / ColorTypes.jl

Basic color definitions and traits
Other
77 stars 35 forks source link

Make `AbstractGray` an abstract type instead of an alias #252

Closed kimikage closed 3 years ago

kimikage commented 3 years ago

This classifies the properties of real numbers and the properties of the black-gray-white colors.

This should be mostly compatible for a single specific method, but may affect the multiple dispatch or ambiguity.

README.md will be updated with PR #250.

Closes #230

codecov[bot] commented 3 years ago

Codecov Report

Merging #252 (6a37cf2) into master (fd311ab) will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #252      +/-   ##
==========================================
+ Coverage   82.85%   82.87%   +0.02%     
==========================================
  Files           8        8              
  Lines         764      765       +1     
==========================================
+ Hits          633      634       +1     
  Misses        131      131              
Impacted Files Coverage Δ
src/ColorTypes.jl 100.00% <ø> (ø)
src/types.jl 91.38% <ø> (ø)
src/conversions.jl 86.81% <100.00%> (ø)
src/traits.jl 98.89% <100.00%> (+<0.01%) :arrow_up:

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 fd311ab...6a37cf2. Read the comment docs.