File: 06_empty.t

package info (click to toggle)
libgraph-nauty-perl 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: perl: 202; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings;
use Graph::Nauty qw( are_isomorphic automorphism_group_size );
use Graph::Undirected;
use Test::More tests => 2;

my $g = Graph::Undirected->new;
my $h = Graph::Undirected->new;

is( automorphism_group_size( $g ), 1 );
is( are_isomorphic( $g, $h ), 1 );