### ----------------------------------------------------
### -- Color::Named
### -- Licenses: GPL-3.0
### -- Authors: Markus 'holli' Holzer, 
### -- File: t/tests.t
### ----------------------------------------------------
use Test;

plan 6;

lives-ok {
  use Color::Named <X11>;
  my $aqua = Color::Named.new( :name("Aqua") );
  ok $aqua.defined;
  ok $aqua.r == 0;
  ok $aqua.g == 255;
  ok $aqua.b == 255;

  my $color = Color.new( "#00FFFF" );
  ok $color.defined;
}

done-testing;


