Adding support for the PowInt subsystem, as well making the verbosity of the test...
[Math-GSL.git] / trunk / t / PowInt.t
blob16f9edbc1968b124df4356ed9df4930859fe34fe
1 use Test::More 'no_plan';
2 use Math::GSL;
3 use Math::GSL::Errno;
4 use Math::GSL::PowInt;
5 use Data::Dumper;
6 use strict;
7 use warnings;
11     my $gsl = Math::GSL->new;
12     my $results = { 
13                 'Math::GSL::PowInt::gsl_pow_2(3)'=>  3 ** 2,
14                 'Math::GSL::PowInt::gsl_pow_3(4)'=>  4 ** 3,
15                 'Math::GSL::PowInt::gsl_pow_4(5)'=>  5 ** 4,
16                 'Math::GSL::PowInt::gsl_pow_5(6)'=>  6 ** 5,
17               };
19     $gsl->verify_results($results);