X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstemma.t;h=404b686bbeab8a9368c0fd1e9fbc0aaf6b1696bb;hb=c84a47788777f257a330f9d011c03077e622310e;hp=697d0d2c46b1070c0caf1c74fd9cb7afdddcde38;hpb=7f52eac8cd00b160ea9e828790cbd093dc444feb;p=scpubgit%2Fstemmatology.git diff --git a/t/stemma.t b/t/stemma.t index 697d0d2..404b686 100644 --- a/t/stemma.t +++ b/t/stemma.t @@ -18,9 +18,9 @@ my $tradition = Text::Tradition->new( ); # Set up some relationships my $c = $tradition->collation; -$c->add_relationship( 'n25', 'n26', { 'type' => 'spelling' } ); -$c->add_relationship( 'n9', 'n23', { 'type' => 'spelling' } ); -$c->add_relationship( 'n8', 'n13', { 'type' => 'spelling' } ); +$c->add_relationship( 'n23', 'n24', { 'type' => 'spelling' } ); +$c->add_relationship( 'n9', 'n10', { 'type' => 'spelling' } ); +$c->add_relationship( 'n12', 'n13', { 'type' => 'spelling' } ); $c->calculate_ranks(); my $stemma = $tradition->add_stemma( dotfile => 't/data/simple.dot' );