Feat: Return test result for output recording

This commit is contained in:
2025-11-13 12:49:08 -08:00
parent 94e9f9db94
commit 238d1cbb26

View File

@@ -16,5 +16,6 @@ export default {
const hull = await findConvexHull(points);
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.");
return hull;
}
};