mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2024-11-23 12:54:04 +00:00
release: 1.50.3
This commit is contained in:
parent
a01d0c82b1
commit
a95567b3c4
|
@ -26,7 +26,7 @@ suite
|
|||
graph.getEdge(vertexes[getRandomIndex(vertexes)], vertexes[getRandomIndex(vertexes)]);
|
||||
})
|
||||
.add(`tarjan`, () => {
|
||||
graph.tarjan(true);
|
||||
graph.tarjan();
|
||||
})
|
||||
// .add(`tarjan all`, () => {
|
||||
// graph.tarjan(true, true, true, true);
|
||||
|
|
|
@ -639,11 +639,11 @@ describe('cycles, strongly connected components, bridges, articular points in Di
|
|||
const dfnMap = graph.getDFNMap();
|
||||
const lowMap = graph.getLowMap();
|
||||
expect(cycles.length).toBe(2);
|
||||
// expect(scCs.size).toBe(5);
|
||||
expect(scCs.size).toBe(5);
|
||||
// expect(bridges.length).toBe(4);
|
||||
// expect(cutVertices.length).toBe(4);
|
||||
// expect(dfnMap.size).toBe(8);
|
||||
// expect(lowMap.size).toBe(8);
|
||||
expect(dfnMap.size).toBe(8);
|
||||
expect(lowMap.size).toBe(8);
|
||||
});
|
||||
|
||||
describe('DirectedGraph iterative Methods', () => {
|
||||
|
|
Loading…
Reference in a new issue