Allow falling back to any strigified Bio::AnnotationI for 'gene_name'
[bioperl-live.git] / t / Tools / RandDistFunctions.t
blob86372206ec310c895b6c3d4f199bf1301dfde27a
1 # -*-Perl-*- Test Harness script for Bioperl
2 # $Id$
4 use strict;
6 BEGIN { 
7     use lib '.';
8     use Bio::Root::Test;
9     
10     test_begin(-tests => 5);
11         
12     use_ok('Bio::Tools::RandomDistFunctions');
16 ok my $dist = Bio::Tools::RandomDistFunctions->new();
18 ok($dist->rand_exponentional_distribution(1.0));
19 ok($dist->rand_geometric_distribution(0.9));
20 ok($dist->rand_normal_distribution);
22 # TODO? these tests seem pretty pointless!