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 authored and james-d-mitchell committed Sep 2, 2024
1 parent 52ccbbb commit 1a59c6e
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 @@ -998,6 +998,12 @@ gap> DigraphAllChordlessCycles(D);
[ 1, 4, 8, 7, 6, 2 ], [ 1, 4, 3, 2 ], [ 1, 4, 3, 7, 6, 5 ], [ 3, 2, 6, 7 ],
[ 2, 1, 5, 6 ], [ 2, 1, 5, 8, 7, 3 ] ]

# 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 1a59c6e

Please sign in to comment.