Refactoring of the Complex tests
[Math-GSL.git] / TODO
blob8723c3585e8b32e1fb78d5e86815f540159c6bea
1 =head1 TODO
3 =head2 Stuff to do SOON
5 * use Test::Class
8 =head2  Stuff to figure out
10 * check for minimum SWIG version
12 * how should we interface to gsl_sf_result ?
14 http://www.gnu.org/software/gsl/manual/html_node/The-gsl_005fsf_005fresult-struct.html
16      use Math::GSL::Result;
17      use Math::GSL::Sf qw/gsl_sf_bessel/;
18      
19      my $x = 5.0;
20      my $result = Math::GSL::Result->new;
21      
22      my $expected = -0.17759677131433830434739701;
23        
24      my $status = gsl_sf_bessel_J0_e ($x, $result);
25      
26      print "status  = $status\n";
27      printf "J0($x) = %.18f\n\t= +/- % .18f\n", $result->val, $result->err;
28      printf "exact   = $expected\n;
30 * $status should get stringified to an actual message (via gsl_strerror)
32 * same goes for gsl_complex_*, gsl_vector_* 
34 =head2 Stuff to fix
36 * make sure in Build.PL that the GSL include files are where we think they
37   are, so that the compilation doesn't blowup when people have put there
38   headers in a non-standard place
40 * make the interface files not be hardcoded to /usr/local/include/gsl, possibly
41   using an environment variable