From f4b1e8d72d89383b75ea39febf05255215a49bb1 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Fri, 16 Jul 2010 14:14:14 +0200 Subject: reflect API change on tests --- t/07-attributes.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 t/07-attributes.t (limited to 't/07-attributes.t') 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; -- cgit v1.2.3