mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 08:37:56 +00:00
Feat: Return test result for output recording
This commit is contained in:
@@ -15,5 +15,6 @@ export default {
|
|||||||
};
|
};
|
||||||
const dist = await findShortestPath(graph, 'A', 'F');
|
const dist = await findShortestPath(graph, 'A', 'F');
|
||||||
assert.strictEqual(dist, 7, "Test Failed: Path A to F should be 7.");
|
assert.strictEqual(dist, 7, "Test Failed: Path A to F should be 7.");
|
||||||
|
return dist;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user