Skip to content

Commit 1cb28f1

Browse files
author
Stan
committed
Fixed strange linefeeds
1 parent 3a87029 commit 1cb28f1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/tests.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,8 @@ test( "Path costs", function() {
103103
diagonalWeightedNeighbor = graph1.grid[2][2].getCost(graph1.grid[1][1]);
104104

105105
equal ((straightNeighbor == 1) , true, "Result is expected - neighbor cost is 1");
106-
equal ((diagonalNeighbor > 1
107-
&& diagonalNeighbor < 2) , true, "Result is expected - diagonal neighbor cost is more than 1, less than 2");
108-
equal ((diagonalWeightedNeighbor > 2
109-
&& diagonalWeightedNeighbor < 4), true, "Result is expected - diagonal neighbor cost for 2 weight node is more than 2, less than 4");
106+
equal ((diagonalNeighbor > 1 && diagonalNeighbor < 2) , true, "Result is expected - diagonal neighbor cost is more than 1, less than 2");
107+
equal ((diagonalWeightedNeighbor > 2 && diagonalWeightedNeighbor < 4), true, "Result is expected - diagonal neighbor cost for 2 weight node is more than 2, less than 4");
110108
});
111109

112110
function runSearch(graph, start, end, options) {

0 commit comments

Comments
 (0)