From 19cec9e7ca6eb00131c60fe5215eccc5b8a08f5d Mon Sep 17 00:00:00 2001 From: Wilf Wilson Date: Sat, 31 Aug 2024 21:50:15 +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 fc39f4a3d..5551d115b 100644 --- a/tst/standard/attr.tst +++ b/tst/standard/attr.tst @@ -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);