File: 23_hypervertexed.t

package info (click to toggle)
libgraph-perl 1%3A0.91-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,152 kB
  • ctags: 590
  • sloc: perl: 6,065; makefile: 37; sh: 8
file content (12 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
use Test::More tests => 2;

use Graph;

my $g1 = Graph->new;

ok ( !$g1->hypervertexed );

my $g2 = Graph->new( hypervertexed => 1 );

ok (  $g2->hypervertexed );