Skip to content

Commit 17ee2be

Browse files
committed
DotEdgeWeightedDigraph: add test for bad args
1 parent be539d8 commit 17ee2be

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tst/standard/weights.tst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,14 @@ node [shape=circle]
571571
7 -> 6[color=blue, label=5]
572572
}
573573
574+
# Bad arguments
575+
gap> DotEdgeWeightedDigraph(
576+
> CompleteDigraph(3),
577+
> [[1, 2], [3, 4], [5, 6]],
578+
> rec(vert := "blue", mrblobby := "pink")
579+
> );
580+
Error, 3rd arg <colors> contains unsupported option named 'mrblobby'
581+
574582
#
575583
gap> DIGRAPHS_StopTest();
576584
gap> STOP_TEST("Digraphs package: standard/weights.tst", 0);

0 commit comments

Comments
 (0)