Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package com.thealgorithms.graph;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package com.thealgorithms.graph;//added missing package



import static org.junit.jupiter.api.Assertions.assertEquals;

import java.util.ArrayList;
Expand Down Expand Up @@ -42,7 +46,7 @@ public void testTwoComponents() {

// There are 2 SCCs: {0, 1, 2} and {3}
assertEquals(2, result, "There should be 2 strongly connected components.");
}
}

@Test
public void testDisconnectedGraph() {
Expand Down
Loading