[BUG] bug 2598
[bioperl-live.git] / t / PhyloNetwork_GraphViz.t
blob1a88585811b2aebc84dc36508b2f3efea9760c8a
1 # $Id$
2 use strict;
4 BEGIN {
5   use lib 't/lib';
6   use BioperlTest;
8   test_begin(-tests => 3,
9              -requires_modules => [qw(Bio::PhyloNetwork
10                                       GraphViz)]);
12   use_ok('Bio::PhyloNetwork::GraphViz');
15 my $net=Bio::PhyloNetwork->new(-eNewick=>'((H1,(H1,(H2,l))),H2)t0; (some long label)H1; ("quoted label")H2;');
17 my $gv=Bio::PhyloNetwork::GraphViz->new(-net=>$net,-short_labels=>1);
18 isa_ok($gv,'Bio::PhyloNetwork::GraphViz');
19 isa_ok($gv,'GraphViz');