1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 7);
12 use_ok('Bio::Coordinate::Graph');
15 ok my $graph = Bio::Coordinate::Graph->new();
30 ok $graph->hash_of_arrays($dag);
35 is my @a = $graph->shortest_path($a, $b), 3;
39 is @a = $graph->shortest_path($a, $b), 1;
43 is @a = $graph->shortest_path($a, $b), 2;
45 is @a = $graph->shortest_path($a, $b), 3;