mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 00:27:55 +00:00
Revert: Update test.js
This commit is contained in:
@@ -16,6 +16,6 @@ export default {
|
|||||||
const hull = await findConvexHull(points);
|
const hull = await findConvexHull(points);
|
||||||
const sortFn = (a, b) => a.x - b.x || a.y - b.y;
|
const sortFn = (a, b) => a.x - b.x || a.y - b.y;
|
||||||
assert.deepStrictEqual(hull.sort(sortFn), expected.sort(sortFn), "Test Failed: Convex hull points do not match.");
|
assert.deepStrictEqual(hull.sort(sortFn), expected.sort(sortFn), "Test Failed: Convex hull points do not match.");
|
||||||
return hull;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user