From 27bd464545cecdc445932d8b8cd1e12b955937fd Mon Sep 17 00:00:00 2001 From: "Wilf A. Wilson" Date: Mon, 2 Sep 2024 09:03:25 +0100 Subject: [PATCH] Add test for issue #676 This concerns using DigraphAllSimpleCircuits with digraphs with non-standard vertex labels. --- tst/standard/attr.tst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tst/standard/attr.tst b/tst/standard/attr.tst index c7f54b004..a1bf70123 100644 --- a/tst/standard/attr.tst +++ b/tst/standard/attr.tst @@ -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);