X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstemma.t;h=404b686bbeab8a9368c0fd1e9fbc0aaf6b1696bb;hb=679f17e1a60a81370df8cbb49b94a2b5d19e3a98;hp=697d0d2c46b1070c0caf1c74fd9cb7afdddcde38;hpb=a2ed66b255a1b88374b5279faa18f0c390ca5dbb;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' );