Skip to content

Commit 0cc4535

Browse files
committed
added test for ISSUE #37040
1 parent c5195ec commit 0cc4535

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/sage/graphs/generators/families.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,17 @@ def CubeGraph(n, embedding=1):
12151215
sage: g = graphs.CubeGraph(9, embedding=2)
12161216
sage: g.show(figsize=[12,12],vertex_labels=False, vertex_size=20) # long time, needs sage.plot
12171217
1218+
Testing issue :trac:`37040`::
1219+
sage: graphs.CubeGraph(3)._pos
1220+
{'000': (0.0, 0.0),
1221+
'001': (6.123...-17, 1.0),
1222+
'010': (0.707..., 0.707...),
1223+
'011': (0.707..., 1.707...),
1224+
'100': (1.0, 0.0),
1225+
'101': (1.0, 1.0),
1226+
'110': (1.707..., 0.707...),
1227+
'111': (1.707..., 1.707...)}
1228+
12181229
AUTHORS:
12191230
12201231
- Robert Miller

0 commit comments

Comments
 (0)