JuliaGraphics / ColorTypes.jl

Basic color definitions and traits
Other
78 stars 36 forks source link

Move `isfinite`, `isinf`, `isnan`, and `nan` from ColorVectorSpace #246

Closed kimikage closed 3 years ago

kimikage commented 3 years ago

This also generalizes nan to support any Colorant type. Note that this does not export nan to prevent name clashes.

see also: https://github.com/JuliaGraphics/ColorVectorSpace.jl/issues/75

codecov[bot] commented 3 years ago

Codecov Report

Merging #246 (e39b075) into master (8fc7034) will increase coverage by 0.12%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #246      +/-   ##
==========================================
+ Coverage   82.25%   82.37%   +0.12%     
==========================================
  Files           8        8              
  Lines         727      732       +5     
==========================================
+ Hits          598      603       +5     
  Misses        129      129              
Impacted Files Coverage Δ
src/ColorTypes.jl 100.00% <ø> (ø)
src/traits.jl 98.85% <100.00%> (+0.03%) :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 8fc7034...e39b075. Read the comment docs.