Skip to content

Commit 08b389b

Browse files
committed
allow for cycles in unit test
1 parent 7d3c51e commit 08b389b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/QuikGraph.Tests/Algorithms/TopologicalSort/UndirectedFirstTopologicalSortAlgorithmTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal sealed class UndirectedFirstTopologicalSortAlgorithmTests
1616
[TestCaseSource(typeof(TestGraphFactory), nameof(TestGraphFactory.GetUndirectedGraphs_All))]
1717
public static void RunUndirectedFirstTopologicalSortAndCheck<TVertex, TEdge>(
1818
[NotNull] IUndirectedGraph<TVertex, TEdge> graph) where TEdge : IEdge<TVertex>
19-
=> RunUndirectedFirstTopologicalSortAndCheck(graph, false);
19+
=> RunUndirectedFirstTopologicalSortAndCheck(graph, true);
2020

2121
public static void RunUndirectedFirstTopologicalSortAndCheck<TVertex, TEdge>(
2222
[NotNull] IUndirectedGraph<TVertex, TEdge> graph, bool allowCycles)

0 commit comments

Comments
 (0)