Skip to content

Commit b6d0f0e

Browse files
Add TopologicalSortDFSTest with JUnit 5 tests
1 parent 3dde532 commit b6d0f0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/datastructures/graphs/TopologicalSortDFS.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
* @see <a href="https://en.wikipedia.org/wiki/Topological_sorting">Topological
3232
* Sorting (Wikipedia)</a>
3333
*/
34-
public final class TopologicalSortDFS {
34+
public class TopologicalSortDFS {
3535

36-
private TopologicalSortDFS() {
36+
public TopologicalSortDFS() {
3737
}
3838

3939
private enum VisitState {

0 commit comments

Comments
 (0)