Skip to content

Commit

Permalink
Add test for issue #676
Browse files Browse the repository at this point in the history
This concerns using DigraphAllSimpleCircuits with
digraphs with non-standard vertex labels.
  • Loading branch information
wilfwilson committed Aug 31, 2024
1 parent 32ed64a commit 19cec9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tst/standard/attr.tst
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,12 @@ gap> gr := Digraph([[3, 6, 7], [3, 6, 8], [1, 2, 3, 6, 7, 8],
gap> Length(DigraphAllSimpleCircuits(gr));
259

# Issue #676
gap> D := Digraph([[], [3], []]);;
gap> SetDigraphVertexLabels(D, ["one", "two", "three"]);
gap> DigraphAllSimpleCircuits(D);
[ ]

# DigraphLongestSimpleCircuit
gap> gr := Digraph([]);;
gap> DigraphLongestSimpleCircuit(gr);
Expand Down

0 comments on commit 19cec9e

Please sign in to comment.