1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 3,
11 -requires_module => 'Bio::Ext::Align');
13 use_ok('Bio::SearchDist');
16 my $dist = Bio::SearchDist->new();
18 isa_ok $dist, 'Bio::SearchDist';
21 foreach my $i ( 1..5000 ) {
22 my $score = rand(1300);
23 #print STDERR "Got $score\n";
24 $dist->add_score($score);
28 # this just checks that this routine runs ;)
29 # as the distribution is not gaussian, it gives
30 # non-sensical results
32 is $dist->fit_Gaussian(1200), 1;
34 # TODO? there are no useful tests here!