Skip to content

Commit

Permalink
fixed isobands tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdumbo99 committed Aug 3, 2024
1 parent 590b02d commit 493255a
Show file tree
Hide file tree
Showing 5 changed files with 10,469 additions and 3,088 deletions.
7 changes: 7 additions & 0 deletions packages/turf-isobands/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ test("isobands", (t) => {

if (process.env.REGEN)
writeJsonFileSync(directories.out + name + ".geojson", results);
if (name === "matrix2") {
for (let i = 0; i < results.features.length; i++) {
console.log(results.features[i].geometry.coordinates[0]);
console.log("--------");
}
console.log(name);
}
t.deepEqual(
results,
loadJsonFileSync(directories.out + name + ".geojson"),
Expand Down
Loading

0 comments on commit 493255a

Please sign in to comment.