JuliaGraphics / ColorTypes.jl

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

Add tests for constructors of `TransparentGray` and custom types #240

Closed kimikage closed 3 years ago

kimikage commented 3 years ago

This includes the tests for PR #177. This also includes tests for issue #230. However, I have not added tests for comparison with real numbers, as that is controversial (cf. https://github.com/JuliaGraphics/ColorTypes.jl/issues/230#issuecomment-801010654).

codecov[bot] commented 3 years ago

Codecov Report

Merging #240 (0cc3e8b) into master (baf7faa) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #240   +/-   ##
=======================================
  Coverage   96.12%   96.12%           
=======================================
  Files           8        8           
  Lines         748      748           
=======================================
  Hits          719      719           
  Misses         29       29           

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 baf7faa...0cc3e8b. Read the comment docs.