Skip to content

Commit

Permalink
nailed final branch condition
Browse files Browse the repository at this point in the history
git-svn-id: file:///Volumes/JJT 4GB/Apps/svn_repo/Algorithm-TravelingSalesman-BitonicTour/trunk@114 5bda1b4c-df04-11dc-9541-bd5b2d3e4f05
  • Loading branch information
johnt committed Apr 18, 2008
1 parent 4b3b549 commit e67f0b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/02-cost.t
Expand Up @@ -33,6 +33,7 @@ throws_ok { $b->tour(1,0) } qr/ERROR/, 'die on invalid tour limits';
throws_ok { $b->tour_cost(42,142) } qr/ERROR/, 'die on invalid cost limits';
throws_ok { $b->tour_cost(0,1,-1) } qr/ERROR/, 'die on invalid cost';
throws_ok { $b->optimal_partial_tour(1,0) } qr/ERROR/, 'die on invalid tour limits';
throws_ok { $b->optimal_partial_tour(1.5,2) } qr/ERROR/, 'die on invalid tour limits';

{
my @tour = $b->optimal_partial_tour(1,2);
Expand Down

0 comments on commit e67f0b4

Please sign in to comment.