diff options
Diffstat (limited to '')
| -rw-r--r-- | t/07-attributes.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/t/07-attributes.t b/t/07-attributes.t new file mode 100644 index 0000000..c4d13dd --- /dev/null +++ b/t/07-attributes.t @@ -0,0 +1,13 @@ +use strict; +use warnings; +use Test::More; + +use Graph::GEXF; + +my $graph = Graph::GEXF->new(); +ok $graph->add_node_attribute('foo','bar','baz'); +ok $graph->add_edge_attribute('baz', 'bar', 'foo'); + +print $graph->to_xml; + +done_testing; |
