Permalink
Browse files

nailed final branch condition

git-svn-id: file:///Volumes/JJT 4GB/Apps/svn_repo/Algorithm-TravelingSalesman-BitonicTour/trunk@114 5bda1b4c-df04-11dc-9541-bd5b2d3e4f05
  • Loading branch information...
johnt
johnt committed Apr 18, 2008
1 parent 4b3b549 commit e67f0b4673fa19d84a1a2658e955e3c74144bd4b
Showing with 1 addition and 0 deletions.
  1. +1 −0 t/02-cost.t
View
@@ -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);

0 comments on commit e67f0b4

Please sign in to comment.