diff options
Diffstat (limited to 't/01-basic.t')
| -rw-r--r-- | t/01-basic.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/01-basic.t b/t/01-basic.t index 8e1a231..6bb7121 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -1,12 +1,16 @@ use strict; use warnings; + use Test::More; + use Graph::GEXF; ok my $graph = Graph::GEXF->new(), 'graph created'; + ok my $n1 = $graph->add_node(), 'node created'; ok $n1->id, 'node has an id'; is $graph->total_nodes, 1, 'got one node'; + ok my $n2 = $graph->get_node($n1->id); done_testing; |
