Not needed as a dependency, the Pod tests will only be run if Test::Pod is installed.
[Math-GSL.git] / t / Errno.t
blob1e3421fe1569af58a0b0c0013bc3f6d14376b42b
1 use Test::More 'no_plan';
2 use Math::GSL;
3 use Math::GSL::Errno;
4 use Data::Dumper;
5 use strict;
6 use warnings;
9 ok( defined $Math::GSL::Errno::GSL_SUCCESS, 'GSL_SUCCESS');
10 ok( defined $Math::GSL::Errno::GSL_EOF    ,  'GSL_EOF' );
12 ok( Math::GSL::Errno::gsl_strerror($Math::GSL::Errno::GSL_SUCCESS) eq 'success',
13     q{gsl_strerror(GSL_SUCCESS) = 'success'} );
16 ok( Math::GSL::Errno::gsl_strerror($Math::GSL::Errno::GSL_EOF) eq 'end of file',
17     q{gsl_strerror(GSL_EOF) = 'end of file'} );