Alien-Gnuplot

 view release on metacpan or  search on metacpan

t/02-version.t  view on Meta::CPAN

#===============================================================================
#
#         FILE: 02-version.t
#
#  DESCRIPTION: Test of VERSION() sub
#
#       AUTHOR: Pete Houston (pete), cpan@openstrike.co.uk
#
#===============================================================================

use strict;
use warnings;

use Alien::Gnuplot;
use Test::More tests => 2;
use Test::Exception;

lives_ok  { Alien::Gnuplot->VERSION (0.1) } 'Installed version > 0,1';
throws_ok { Alien::Gnuplot->VERSION (99)  } qr/You should upgrade gnuplot/,
	'Installed version < 99';



( run in 1.170 second using v1.01-cache-2.11-cpan-796a6f069b2 )