Class exercise.SccTests
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
testCorrectStronglyConnectedComponentsOnExampleGraph | 0.001s | passed |
testCorrectStronglyConnectedComponentsOnRandomGraph | 0.018s | passed |
Standard output
strongly connected components computed with library: [[1, 2, 3, 4, 6, 7, 8, 9], [5], [0]] strongly connected components computed with my implementation: [[0], [5], [1, 2, 3, 4, 6, 7, 8, 9]]