### ----------------------------------------------------
### -- X11::libxdo
### -- Licenses: Artistic-2.0
### -- Authors: Steve Schulze (thundergnat)
### -- File: t/00-basic.t
### ----------------------------------------------------
use Test;

#plan 3;

die 'Needs to have an X11 widowing system available.'
  unless shell(qw<echo $DISPLAY>, :out).out.slurp.words > 0; 

use-ok('X11::libxdo', 'is usable');

use X11::libxdo;
my $xdo = Xdo.new;
is($xdo.^name, 'X11::libxdo::Xdo', 'is an Xdo instance');
isa-ok( $xdo.version, Str, 'returns a version string');

done-testing;


