File: 03xyz.t

package info (click to toggle)
libgraphics-colorobject-perl 0.5.0-10.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: perl: 1,754; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
use Test::More tests => 2;
BEGIN { use_ok('Graphics::ColorObject') };

ok( Graphics::ColorObject::_delta_v3( 
    Graphics::ColorObject->new_XYZ([0.634215, 0.3279658, 0.9477849], space => 'Apple RGB')->as_RGB(), 
    [1, 0, 1] 
) < 0.0005 );