From 42dd14730e38ea8c01d9165b7dba99e4509f79f4 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 21 Jun 2009 13:40:41 -0500 Subject: turn make_path into a method --- t/100-projecteuler.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/100-projecteuler.t b/t/100-projecteuler.t index d7caf3d..78153f8 100644 --- a/t/100-projecteuler.t +++ b/t/100-projecteuler.t @@ -18,7 +18,7 @@ my ($paths, $blah) = $graph->dijkstra("0 0"); my @paths; my $bottom_row = @triangle - 1; for my $i (0..$bottom_row) { - push @paths, [Graph::Implicit::make_path($paths, "$bottom_row $i")]; + push @paths, [$graph->make_path($paths, "$bottom_row $i")]; } my @path_values = map { [map { my ($x, $y) = split; $triangle[$x][$y] } @$_] } @paths; -- cgit v1.2.3-54-g00ecf