From f706e1db10a734edaa4eb52ae80adef0a4f4f850 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 21 May 2011 15:08:58 +0200 Subject: add and update tests Signed-off-by: franck cuny --- t/03-node.t | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 't/03-node.t') diff --git a/t/03-node.t b/t/03-node.t index a3f10e6..448f666 100644 --- a/t/03-node.t +++ b/t/03-node.t @@ -1,7 +1,9 @@ use strict; use warnings; + use Test::More; use Test::Exception; + use Graph::GEXF::Node; ok my $node = Graph::GEXF::Node->new(id => 0), 'node created'; @@ -16,13 +18,4 @@ ok $node->set_node_attribute( ok $node->attribute('url', 'http://linkfluence.net'), 'add attribute url to node'; -is $node->x, '0.0'; -is $node->y, '0.0'; - -ok $node->x(5); -ok $node->y(12); - -is $node->x, 5; -is $node->y, 12; - done_testing; -- cgit v1.2.3