regina 7.4.1__cp314-cp314-macosx_10_13_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. regina/.dylibs/libgmp.10.dylib +0 -0
  2. regina/.dylibs/libgmpxx.4.dylib +0 -0
  3. regina/__init__.py +192 -0
  4. regina/engine.cpython-314-darwin.so +0 -0
  5. regina/plainCompleter.py +221 -0
  6. regina/pyCensus/__init__.py +14 -0
  7. regina/pyCensus/christy-knots-links.tdb +0 -0
  8. regina/pyCensus/closed-hyp-census-full.tdb +0 -0
  9. regina/pyCensus/closed-nor-census-11.tdb +0 -0
  10. regina/pyCensus/closed-or-census-11.tdb +0 -0
  11. regina/pyCensus/cusped-hyp-nor-census-9.tdb +0 -0
  12. regina/pyCensus/cusped-hyp-or-census-9.tdb +0 -0
  13. regina/sageRegina/__init__.py +2 -0
  14. regina/sageRegina/config.py +9 -0
  15. regina/sageRegina/test.py +131 -0
  16. regina/sageRegina/testsuite/CMakeLists.txt +64 -0
  17. regina/sageRegina/testsuite/O2_1.rga +15 -0
  18. regina/sageRegina/testsuite/O2_1.tri +28 -0
  19. regina/sageRegina/testsuite/README.txt +21 -0
  20. regina/sageRegina/testsuite/alltypes-exc.out +698 -0
  21. regina/sageRegina/testsuite/alltypes-exc.test +92 -0
  22. regina/sageRegina/testsuite/alltypes-noexc.out +698 -0
  23. regina/sageRegina/testsuite/alltypes-noexc.test +85 -0
  24. regina/sageRegina/testsuite/alltypes.out +698 -0
  25. regina/sageRegina/testsuite/alltypes.test +85 -0
  26. regina/sageRegina/testsuite/angles.out +102 -0
  27. regina/sageRegina/testsuite/angles.test +70 -0
  28. regina/sageRegina/testsuite/arrow.out +86 -0
  29. regina/sageRegina/testsuite/arrow.test +224 -0
  30. regina/sageRegina/testsuite/base64.out +2 -0
  31. regina/sageRegina/testsuite/base64.test +37 -0
  32. regina/sageRegina/testsuite/basic_callback.out +124 -0
  33. regina/sageRegina/testsuite/basic_sub.out +7 -0
  34. regina/sageRegina/testsuite/binom.out +14 -0
  35. regina/sageRegina/testsuite/binom.test +69 -0
  36. regina/sageRegina/testsuite/bool.out +6 -0
  37. regina/sageRegina/testsuite/bool.test +62 -0
  38. regina/sageRegina/testsuite/bytes.out +17 -0
  39. regina/sageRegina/testsuite/bytes.test +76 -0
  40. regina/sageRegina/testsuite/callbacks.out +515 -0
  41. regina/sageRegina/testsuite/callbacks.test +279 -0
  42. regina/sageRegina/testsuite/census.out +120 -0
  43. regina/sageRegina/testsuite/census.test +156 -0
  44. regina/sageRegina/testsuite/clone.out +18 -0
  45. regina/sageRegina/testsuite/clone.test +99 -0
  46. regina/sageRegina/testsuite/comparison.out +41 -0
  47. regina/sageRegina/testsuite/comparison.test +47 -0
  48. regina/sageRegina/testsuite/construction.out +120 -0
  49. regina/sageRegina/testsuite/construction.test +63 -0
  50. regina/sageRegina/testsuite/constructors.out +14 -0
  51. regina/sageRegina/testsuite/constructors.test +95 -0
  52. regina/sageRegina/testsuite/cube.orb +87 -0
  53. regina/sageRegina/testsuite/discs.out +3 -0
  54. regina/sageRegina/testsuite/discs.test +38 -0
  55. regina/sageRegina/testsuite/docstrings.filter +22 -0
  56. regina/sageRegina/testsuite/docstrings.out +802 -0
  57. regina/sageRegina/testsuite/docstrings.out.v2 +799 -0
  58. regina/sageRegina/testsuite/docstrings.test +55 -0
  59. regina/sageRegina/testsuite/dodec.orb +309 -0
  60. regina/sageRegina/testsuite/embeddings.out +23 -0
  61. regina/sageRegina/testsuite/embeddings.test +87 -0
  62. regina/sageRegina/testsuite/enumerate.out +62 -0
  63. regina/sageRegina/testsuite/enumerate.test +80 -0
  64. regina/sageRegina/testsuite/equality.out +112 -0
  65. regina/sageRegina/testsuite/equality.test +308 -0
  66. regina/sageRegina/testsuite/euler.out +15 -0
  67. regina/sageRegina/testsuite/euler.test +93 -0
  68. regina/sageRegina/testsuite/exception.out +7 -0
  69. regina/sageRegina/testsuite/exception.test +98 -0
  70. regina/sageRegina/testsuite/facenumbering.out +546 -0
  71. regina/sageRegina/testsuite/facenumbering.test +72 -0
  72. regina/sageRegina/testsuite/faces.out +40 -0
  73. regina/sageRegina/testsuite/faces.test +70 -0
  74. regina/sageRegina/testsuite/file.out +1229 -0
  75. regina/sageRegina/testsuite/file.test +68 -0
  76. regina/sageRegina/testsuite/file1.rga +0 -0
  77. regina/sageRegina/testsuite/file2.rga +0 -0
  78. regina/sageRegina/testsuite/file3.rga +119 -0
  79. regina/sageRegina/testsuite/flags.out +38 -0
  80. regina/sageRegina/testsuite/flags.out.v2 +38 -0
  81. regina/sageRegina/testsuite/flags.test +81 -0
  82. regina/sageRegina/testsuite/flype.out +37 -0
  83. regina/sageRegina/testsuite/flype.test +48 -0
  84. regina/sageRegina/testsuite/generic.out +116 -0
  85. regina/sageRegina/testsuite/generic.test +74 -0
  86. regina/sageRegina/testsuite/groups.out +70 -0
  87. regina/sageRegina/testsuite/groups.test +115 -0
  88. regina/sageRegina/testsuite/hash.out +66 -0
  89. regina/sageRegina/testsuite/hash.test +84 -0
  90. regina/sageRegina/testsuite/hypersurfaces.out +681 -0
  91. regina/sageRegina/testsuite/hypersurfaces.test +89 -0
  92. regina/sageRegina/testsuite/i18n-latin1.rga +8 -0
  93. regina/sageRegina/testsuite/i18n-utf8.rga +8 -0
  94. regina/sageRegina/testsuite/i18n.out +6 -0
  95. regina/sageRegina/testsuite/i18n.test +89 -0
  96. regina/sageRegina/testsuite/id.out +2 -0
  97. regina/sageRegina/testsuite/id.test +45 -0
  98. regina/sageRegina/testsuite/index.out +2 -0
  99. regina/sageRegina/testsuite/index.test +41 -0
  100. regina/sageRegina/testsuite/integer.out +74 -0
  101. regina/sageRegina/testsuite/integer.test +54 -0
  102. regina/sageRegina/testsuite/italian.orb +90 -0
  103. regina/sageRegina/testsuite/iterators.out +118 -0
  104. regina/sageRegina/testsuite/iterators.test +126 -0
  105. regina/sageRegina/testsuite/knotted-Y.orb +47 -0
  106. regina/sageRegina/testsuite/listener.out +43 -0
  107. regina/sageRegina/testsuite/listener.test +99 -0
  108. regina/sageRegina/testsuite/listview.out +416 -0
  109. regina/sageRegina/testsuite/listview.test +251 -0
  110. regina/sageRegina/testsuite/lookup.out +13 -0
  111. regina/sageRegina/testsuite/lookup.test +42 -0
  112. regina/sageRegina/testsuite/lst.out +844 -0
  113. regina/sageRegina/testsuite/lst.test +195 -0
  114. regina/sageRegina/testsuite/memory1.out +62 -0
  115. regina/sageRegina/testsuite/memory1.test +152 -0
  116. regina/sageRegina/testsuite/memory2.out +62 -0
  117. regina/sageRegina/testsuite/memory2.test +122 -0
  118. regina/sageRegina/testsuite/memory3.out +92 -0
  119. regina/sageRegina/testsuite/memory3.test +214 -0
  120. regina/sageRegina/testsuite/misc.out +7 -0
  121. regina/sageRegina/testsuite/misc.test +54 -0
  122. regina/sageRegina/testsuite/operators.out +129 -0
  123. regina/sageRegina/testsuite/operators.test +59 -0
  124. regina/sageRegina/testsuite/orb.out +441 -0
  125. regina/sageRegina/testsuite/orb.test +47 -0
  126. regina/sageRegina/testsuite/pdf.out +4 -0
  127. regina/sageRegina/testsuite/pdf.test +47 -0
  128. regina/sageRegina/testsuite/perm.out +36 -0
  129. regina/sageRegina/testsuite/perm.test +74 -0
  130. regina/sageRegina/testsuite/plantri.out +12 -0
  131. regina/sageRegina/testsuite/plantri.test +58 -0
  132. regina/sageRegina/testsuite/poincare.tri +55 -0
  133. regina/sageRegina/testsuite/presentations.out +11 -0
  134. regina/sageRegina/testsuite/presentations.test +59 -0
  135. regina/sageRegina/testsuite/refs.out +51 -0
  136. regina/sageRegina/testsuite/refs.test +126 -0
  137. regina/sageRegina/testsuite/repr.out +951 -0
  138. regina/sageRegina/testsuite/repr.out.v2 +951 -0
  139. regina/sageRegina/testsuite/repr.test +546 -0
  140. regina/sageRegina/testsuite/runbasic.in +75 -0
  141. regina/sageRegina/testsuite/safeheldtype_basic.out +17 -0
  142. regina/sageRegina/testsuite/safeheldtype_basic.test +111 -0
  143. regina/sageRegina/testsuite/safeheldtype_packet.out +58 -0
  144. regina/sageRegina/testsuite/safeheldtype_packet.test +179 -0
  145. regina/sageRegina/testsuite/sample.pdf +0 -0
  146. regina/sageRegina/testsuite/sets.out +7 -0
  147. regina/sageRegina/testsuite/sets.test +42 -0
  148. regina/sageRegina/testsuite/skeleton.out +308 -0
  149. regina/sageRegina/testsuite/skeleton.test +52 -0
  150. regina/sageRegina/testsuite/snappea.out +90 -0
  151. regina/sageRegina/testsuite/snappea.test +133 -0
  152. regina/sageRegina/testsuite/snapshot.out +15 -0
  153. regina/sageRegina/testsuite/snapshot.test +76 -0
  154. regina/sageRegina/testsuite/sort.out +78 -0
  155. regina/sageRegina/testsuite/sort.test +58 -0
  156. regina/sageRegina/testsuite/special.out +4 -0
  157. regina/sageRegina/testsuite/special.test +45 -0
  158. regina/sageRegina/testsuite/standardtri.out +12101 -0
  159. regina/sageRegina/testsuite/standardtri.test +453 -0
  160. regina/sageRegina/testsuite/surfaces.out +2133 -0
  161. regina/sageRegina/testsuite/surfaces.test +112 -0
  162. regina/sageRegina/testsuite/swapping.out +25 -0
  163. regina/sageRegina/testsuite/swapping.test +86 -0
  164. regina/sageRegina/testsuite/testall.in +174 -0
  165. regina/sageRegina/testsuite/testbasic.in +277 -0
  166. regina/sageRegina/testsuite/testcallback.in +148 -0
  167. regina/sageRegina/testsuite/testsub.in +148 -0
  168. regina/sageRegina/testsuite/theta_in_solid_torus.orb +65 -0
  169. regina/sageRegina/testsuite/tightencode.out +40 -0
  170. regina/sageRegina/testsuite/tightencode.test +106 -0
  171. regina/sageRegina/testsuite/treedecomp.out +135 -0
  172. regina/sageRegina/testsuite/treedecomp.test +64 -0
  173. regina/sageRegina/testsuite/treetraversal.out +52 -0
  174. regina/sageRegina/testsuite/treetraversal.test +188 -0
  175. regina/sageRegina/testsuite/trigeneral.out +1251 -0
  176. regina/sageRegina/testsuite/trigeneral.test +153 -0
  177. regina/sageRegina/testsuite/utf8.out +42 -0
  178. regina/sageRegina/testsuite/utf8.test +92 -0
  179. regina/sageRegina/testsuite/whitehead.tri +47 -0
  180. regina/sageRegina/version.py +5 -0
  181. regina/sageSetup.py +41 -0
  182. regina/test.py +6 -0
  183. regina-7.4.1.dist-info/METADATA +109 -0
  184. regina-7.4.1.dist-info/RECORD +186 -0
  185. regina-7.4.1.dist-info/WHEEL +6 -0
  186. regina-7.4.1.dist-info/top_level.txt +4 -0
@@ -0,0 +1,68 @@
1
+ # Regina - A Normal Surface Theory Calculator
2
+ # Python Test Suite Component
3
+ #
4
+ # Copyright (c) 2011-2025, Ben Burton
5
+ # For further details contact Ben Burton (bab@debian.org).
6
+ #
7
+ # Tests support for the modern XML file format
8
+ #
9
+ # This file is a single component of Regina's python test suite. To run
10
+ # the python test suite, move to the main python directory in the source
11
+ # tree and run "make check".
12
+ #
13
+ # This program is free software; you can redistribute it and/or
14
+ # modify it under the terms of the GNU General Public License as
15
+ # published by the Free Software Foundation; either version 2 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # As an exception, when this program is distributed through (i) the
19
+ # App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
20
+ # (iii) Google Play by Google Inc., then that store may impose any
21
+ # digital rights management, device limits and/or redistribution
22
+ # restrictions that are required by its terms of service.
23
+ #
24
+ # This program is distributed in the hope that it will be useful, but
25
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
+ # General Public License for more details.
28
+ #
29
+ # You should have received a copy of the GNU General Public License
30
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
31
+
32
+ # Fetch the python/testsuite path in the source tree, since we will need
33
+ # to access external files.
34
+ import sys
35
+ if (len(sys.argv) > 1):
36
+ testpath = sys.argv[1]
37
+ else:
38
+ testpath = '.'
39
+
40
+ # A routine that performs essentially the same tasks as regfiledump.
41
+ def dump(tree):
42
+ if tree == None:
43
+ print('ERROR: Null packet tree.')
44
+ return
45
+
46
+ p = tree
47
+ while p != None:
48
+ print('************************************************************')
49
+ print('*')
50
+ print('* Label: ' + p.label())
51
+ print('* Type: ' + p.typeName())
52
+ if p.parent() == None:
53
+ print('* Parent: (none)')
54
+ else:
55
+ print('* Parent: ' + p.parent().label())
56
+ print('*')
57
+ print('************************************************************')
58
+ print()
59
+ print(p.detail())
60
+ print()
61
+
62
+ p = p.nextTreePacket()
63
+
64
+ # Load and dump some files created by different versions of regina.
65
+ dump(regina.open(testpath + '/file1.rga'))
66
+ dump(regina.open(testpath + '/file2.rga'))
67
+ dump(regina.open(testpath + '/file3.rga'))
68
+
Binary file
Binary file
@@ -0,0 +1,119 @@
1
+ <?xml version="1.0"?>
2
+ <reginadata engine="5.0">
3
+ <packet label="Root"
4
+ type="Container" typeid="1"
5
+ parent="">
6
+ <packet label="2-D"
7
+ type="2-Manifold Triangulation" typeid="15"
8
+ parent="Root">
9
+ <triangles ntriangles="2">
10
+ <triangle desc=""> 1 4 -1 -1 1 2 </triangle>
11
+ <triangle desc=""> 0 4 -1 -1 0 2 </triangle>
12
+ </triangles>
13
+ </packet> <!-- 2_D (2_Manifold Triangulation) -->
14
+ <packet label="3-D"
15
+ type="3-Manifold Triangulation" typeid="3"
16
+ parent="Root">
17
+ <tetrahedra ntet="2">
18
+ <tet desc=""> 1 147 -1 -1 -1 -1 1 57 </tet>
19
+ <tet desc=""> 0 147 -1 -1 -1 -1 0 57 </tet>
20
+ </tetrahedra>
21
+ </packet> <!-- 3_D (3_Manifold Triangulation) -->
22
+ <packet label="4-D"
23
+ type="4-Manifold Triangulation" typeid="11"
24
+ parent="Root">
25
+ <pentachora npent="2">
26
+ <pent desc=""> 1 13380 -1 -1 -1 -1 -1 -1 1 2257 </pent>
27
+ <pent desc=""> 0 13380 -1 -1 -1 -1 -1 -1 0 2257 </pent>
28
+ </pentachora>
29
+ </packet> <!-- 4_D (4_Manifold Triangulation) -->
30
+ <packet label="5-D"
31
+ type="5-Manifold Triangulation" typeid="105"
32
+ parent="Root">
33
+ <simplices size="2">
34
+ <simplex desc=""> 1 144453 -1 -1 -1 -1 -1 -1 -1 -1 1 22737 </simplex>
35
+ <simplex desc=""> 0 144453 -1 -1 -1 -1 -1 -1 -1 -1 0 22737 </simplex>
36
+ </simplices>
37
+ </packet> <!-- 5_D (5_Manifold Triangulation) -->
38
+ <packet label="6-D"
39
+ type="6-Manifold Triangulation" typeid="106"
40
+ parent="Root">
41
+ <simplices size="2">
42
+ <simplex desc=""> 1 1455174 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 219345 </simplex>
43
+ <simplex desc=""> 0 1455174 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 219345 </simplex>
44
+ </simplices>
45
+ </packet> <!-- 6_D (6_Manifold Triangulation) -->
46
+ <packet label="7-D"
47
+ type="7-Manifold Triangulation" typeid="107"
48
+ parent="Root">
49
+ <simplices size="2">
50
+ <simplex desc=""> 1 14038087 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 2054353 </simplex>
51
+ <simplex desc=""> 0 14038087 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 2054353 </simplex>
52
+ </simplices>
53
+ </packet> <!-- 7_D (7_Manifold Triangulation) -->
54
+ <packet label="8-D"
55
+ type="8-Manifold Triangulation" typeid="108"
56
+ parent="Root">
57
+ <simplices size="2">
58
+ <simplex desc=""> 1 31763669256 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 2271560481 </simplex>
59
+ <simplex desc=""> 0 31763669256 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 2271560481 </simplex>
60
+ </simplices>
61
+ </packet> <!-- 8_D (8_Manifold Triangulation) -->
62
+ <packet label="9-D"
63
+ type="9-Manifold Triangulation" typeid="109"
64
+ parent="Root">
65
+ <simplices size="2">
66
+ <simplex desc=""> 1 581519483145 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 40926266145 </simplex>
67
+ <simplex desc=""> 0 581519483145 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 40926266145 </simplex>
68
+ </simplices>
69
+ </packet> <!-- 9_D (9_Manifold Triangulation) -->
70
+ <packet label="10-D"
71
+ type="10-Manifold Triangulation" typeid="110"
72
+ parent="Root">
73
+ <simplices size="2">
74
+ <simplex desc=""> 1 10477124133130 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 728121033505 </simplex>
75
+ <simplex desc=""> 0 10477124133130 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 728121033505 </simplex>
76
+ </simplices>
77
+ </packet> <!-- 10_D (10_Manifold Triangulation) -->
78
+ <packet label="11-D"
79
+ type="11-Manifold Triangulation" typeid="111"
80
+ parent="Root">
81
+ <simplices size="2">
82
+ <simplex desc=""> 1 186398984577291 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 12822748939041 </simplex>
83
+ <simplex desc=""> 0 186398984577291 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 12822748939041 </simplex>
84
+ </simplices>
85
+ </packet> <!-- 11_D (11_Manifold Triangulation) -->
86
+ <packet label="12-D"
87
+ type="12-Manifold Triangulation" typeid="112"
88
+ parent="Root">
89
+ <simplices size="2">
90
+ <simplex desc=""> 1 3282623728394508 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 223928981472033 </simplex>
91
+ <simplex desc=""> 0 3282623728394508 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 223928981472033 </simplex>
92
+ </simplices>
93
+ </packet> <!-- 12_D (12_Manifold Triangulation) -->
94
+ <packet label="13-D"
95
+ type="13-Manifold Triangulation" typeid="113"
96
+ parent="Root">
97
+ <simplices size="2">
98
+ <simplex desc=""> 1 57325819256840461 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 3883103678710561 </simplex>
99
+ <simplex desc=""> 0 57325819256840461 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 3883103678710561 </simplex>
100
+ </simplices>
101
+ </packet> <!-- 13_D (13_Manifold Triangulation) -->
102
+ <packet label="14-D"
103
+ type="14-Manifold Triangulation" typeid="114"
104
+ parent="Root">
105
+ <simplices size="2">
106
+ <simplex desc=""> 1 994074541749903630 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 66933498461897505 </simplex>
107
+ <simplex desc=""> 0 994074541749903630 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 66933498461897505 </simplex>
108
+ </simplices>
109
+ </packet> <!-- 14_D (14_Manifold Triangulation) -->
110
+ <packet label="15-D"
111
+ type="15-Manifold Triangulation" typeid="115"
112
+ parent="Root">
113
+ <simplices size="2">
114
+ <simplex desc=""> 1 17134975606245761295 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 1147797409030816545 </simplex>
115
+ <simplex desc=""> 0 17134975606245761295 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 1147797409030816545 </simplex>
116
+ </simplices>
117
+ </packet> <!-- 15_D (15_Manifold Triangulation) -->
118
+ </packet> <!-- Root (Container) -->
119
+ </reginadata>
@@ -0,0 +1,38 @@
1
+ CensusPurge.Nil -> False
2
+ CensusPurge.Nil -> False
3
+ CensusPurge.NonMinimal -> True
4
+ CensusPurge.NonMinimal -> True
5
+ AngleAlg.Default -> False
6
+ AngleAlg.Default -> False
7
+ AngleAlg.Tree -> True
8
+ AngleAlg.Tree -> True
9
+ HyperList.Default -> False
10
+ HyperList.Default -> False
11
+ HyperList.Vertex -> True
12
+ HyperList.Vertex -> True
13
+ HyperAlg.Default -> False
14
+ HyperAlg.Default -> False
15
+ HyperAlg.VertexDD -> True
16
+ HyperAlg.VertexDD -> True
17
+ NormalList.Default -> False
18
+ NormalList.Default -> False
19
+ NormalList.Fundamental -> True
20
+ NormalList.Fundamental -> True
21
+ NormalAlg.Default -> False
22
+ NormalAlg.Default -> False
23
+ NormalAlg.VertexTree -> True
24
+ NormalAlg.VertexTree -> True
25
+ SurfaceExport.Nil -> False
26
+ SurfaceExport.Nil -> False
27
+ SurfaceExport.Name -> True
28
+ SurfaceExport.Name -> True
29
+ NormalCoords.Standard -> True
30
+ NormalCoords.Quad -> True
31
+ TriangleType.Unknown -> True
32
+ TriangleType.Parachute -> True
33
+ 9 embedded, vertex surfaces (Standard normal (tri-quad))
34
+ 9 embedded, vertex surfaces (Standard normal (tri-quad))
35
+ 9 embedded, vertex surfaces (Standard normal (tri-quad))
36
+ 9 embedded, fundamental surfaces (Standard normal (tri-quad))
37
+ 39 embedded / immersed / singular, vertex surfaces (Standard normal (tri-quad))
38
+ 59 embedded / immersed / singular, fundamental surfaces (Standard normal (tri-quad))
@@ -0,0 +1,38 @@
1
+ CensusPurge.Nil -> False
2
+ 0x00 -> False
3
+ CensusPurge.NonMinimal -> True
4
+ 0x01 -> True
5
+ AngleAlg.Default -> False
6
+ 0x0000 -> False
7
+ AngleAlg.Tree -> True
8
+ 0x0010 -> True
9
+ HyperList.Default -> False
10
+ 0x0000 -> False
11
+ HyperList.Vertex -> True
12
+ 0x0004 -> True
13
+ HyperAlg.Default -> False
14
+ 0x0000 -> False
15
+ HyperAlg.VertexDD -> True
16
+ 0x0020 -> True
17
+ NormalList.Default -> False
18
+ 0x0000 -> False
19
+ NormalList.Fundamental -> True
20
+ 0x0008 -> True
21
+ NormalAlg.Default -> False
22
+ 0x0000 -> False
23
+ NormalAlg.VertexTree -> True
24
+ 0x0010 -> True
25
+ SurfaceExport.Nil -> False
26
+ 0x0000 -> False
27
+ SurfaceExport.Name -> True
28
+ 0x0001 -> True
29
+ NormalCoords.Standard -> True
30
+ NormalCoords.Quad -> True
31
+ TriangleType.Unknown -> True
32
+ TriangleType.Parachute -> True
33
+ 9 embedded, vertex surfaces (Standard normal (tri-quad))
34
+ 9 embedded, vertex surfaces (Standard normal (tri-quad))
35
+ 9 embedded, vertex surfaces (Standard normal (tri-quad))
36
+ 9 embedded, fundamental surfaces (Standard normal (tri-quad))
37
+ 39 embedded / immersed / singular, vertex surfaces (Standard normal (tri-quad))
38
+ 59 embedded / immersed / singular, fundamental surfaces (Standard normal (tri-quad))
@@ -0,0 +1,81 @@
1
+ # Regina - A Normal Surface Theory Calculator
2
+ # Python Test Suite Component
3
+ #
4
+ # Copyright (c) 2023-2025, Ben Burton
5
+ # For further details contact Ben Burton (bab@debian.org).
6
+ #
7
+ # Tests flags and flag sets.
8
+ #
9
+ # This file is a single component of Regina's python test suite. To run
10
+ # the python test suite, move to the main python directory in the source
11
+ # tree and run "make check".
12
+ #
13
+ # This program is free software; you can redistribute it and/or
14
+ # modify it under the terms of the GNU General Public License as
15
+ # published by the Free Software Foundation; either version 2 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # As an exception, when this program is distributed through (i) the
19
+ # App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
20
+ # (iii) Google Play by Google Inc., then that store may impose any
21
+ # digital rights management, device limits and/or redistribution
22
+ # restrictions that are required by its terms of service.
23
+ #
24
+ # This program is distributed in the hope that it will be useful, but
25
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
+ # General Public License for more details.
28
+ #
29
+ # You should have received a copy of the GNU General Public License
30
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
31
+
32
+ def evalObj(x):
33
+ if x:
34
+ print(x, '-> True')
35
+ else:
36
+ print(x, '-> False')
37
+
38
+ def evalFlag(x):
39
+ # Evaluate as a raw enum value:
40
+ evalObj(x)
41
+
42
+ # Evaluate as a rich flags object:
43
+ evalObj(x | x)
44
+
45
+ evalFlag(regina.CensusPurge.Nil)
46
+ evalFlag(regina.CensusPurge.NonMinimal)
47
+
48
+ evalFlag(regina.AngleAlg.Default)
49
+ evalFlag(regina.AngleAlg.Tree)
50
+
51
+ evalFlag(regina.HyperList.Default)
52
+ evalFlag(regina.HyperList.Vertex)
53
+
54
+ evalFlag(regina.HyperAlg.Default)
55
+ evalFlag(regina.HyperAlg.VertexDD)
56
+
57
+ evalFlag(regina.NormalList.Default)
58
+ evalFlag(regina.NormalList.Fundamental)
59
+
60
+ evalFlag(regina.NormalAlg.Default)
61
+ evalFlag(regina.NormalAlg.VertexTree)
62
+
63
+ evalFlag(regina.SurfaceExport.Nil)
64
+ evalFlag(regina.SurfaceExport.Name)
65
+
66
+ # Some enum types that are NOT intended to be used as flags:
67
+
68
+ evalObj(regina.NormalCoords.Standard) # value is zero
69
+ evalObj(regina.NormalCoords.Quad) # value is non-zero
70
+ evalObj(regina.Triangle3.Type.Unknown) # value is zero
71
+ evalObj(regina.Triangle3.Type.Parachute) # value is non-zero
72
+
73
+ # Verify that boolean combinations of flags are behaving as expected:
74
+
75
+ t = Example3.lst(3,4)
76
+ print(NormalSurfaces(t, NormalCoords.Standard))
77
+ print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Default))
78
+ print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Vertex))
79
+ print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Fundamental))
80
+ print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Vertex | NormalList.ImmersedSingular))
81
+ print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Fundamental | NormalList.ImmersedSingular))
@@ -0,0 +1,37 @@
1
+ 0 0 cdbb,dcaa,ddab,ccba
2
+ 0 2 bbdc,daac,dbad,cabc
3
+ 1 0 cdbb,dcaa,ddab,ccba
4
+ 1 2 cbbd,aacd,dbad,cabc
5
+ 2 1 bcdb,adca,abdd,accb
6
+ 2 3 bbdc,aacd,ddba,abcc
7
+ 3 1 bcdb,adca,bdda,bacc
8
+ 3 3 bbdc,aacd,badd,ccab
9
+
10
+ 0 0 cebb,aaed,dead,cbec,bacd
11
+ 0 2 bbec,adea,ddae,cceb,bdca
12
+ 1 0 cbbe,aade,ddae,cceb,bdca
13
+ 1 2 cebb,edaa,dead,cbec,bacd
14
+ 2 0 becb,eaad,aedd,ebcc,abdc
15
+ 2 2 bbce,edaa,ddea,eccb,acdb
16
+ 3 0 becb,eaad,aedd,ebcc,abdc
17
+ 3 2 bbce,edaa,adde,ccbe,acdb
18
+ 4 1 bbec,deaa,daed,cebc,dcab
19
+ 4 3 bceb,daae,ddea,ccbe,bacd
20
+
21
+ 3 0 bxVh,cpag,epbf,fHee,ocdd,Mdcg,qfbh,qgai,jqhr,kqir,slMj,mMkt,nHlu,oHmv,wpen,coxb,jghi,sjiy,ytkr,ulsz,vmtA,wnuB,Cxov,pwDa,Nzsr,AtyN,BuzG,CvAG,FDwB,xCEE,FRDD,GIEC,ALFB,Mmnd,LJRF,KKQI,LPJJ,GOKI,klHf,SOzy,PLNS,QKOT,JPTR,IQVE,UTON,UQPS,VVTS,aRUU
22
+ 3 2 bhVx,cgap,efbp,eeHf,oddc,Mgcd,qhbf,qiag,jrhq,kriq,sjMl,mtkM,nulH,ovmH,wnep,cbxo,jihg,syij,yrkt,uzsl,vAtm,wBun,Cvox,paDw,Nrsz,ANyt,BGzu,CGAv,FBwD,xEEC,FDDR,GCEI,ABFL,Mdnm,LFRJ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ox,paDw,Nrsz,ANyt,BGzu,CGAv,FBwD,xEEC,FDDR,GCEI,ABFL,Menm,LFRJ,KIQK,LJJP,GIKO,kfHl,SyzO,PSNL,QTOK,JRTP,IEUQ,VNOT,VSPQ,RaVV,UUST
36
+ 47 3 bxUh,cpag,dpbf,eoce,dfHd,Mecg,qfbh,qgai,jqhr,kqir,slMj,mMkt,nHlu,oHmv,wpdn,coxb,jghi,sjiy,ytkr,ulsz,vmtA,wnuB,Cxov,pwDa,Nzsr,AtyN,BuzG,CvAG,FDwB,xCEE,FRDD,GIEC,ALFB,Mmne,LJRF,KKQI,LPJJ,GOKI,klHf,SOzy,PLNS,QKOT,JPTR,IQUE,VTON,VQPS,RVVa,TSUU
37
+
@@ -0,0 +1,48 @@
1
+ # Regina - A Normal Surface Theory Calculator
2
+ # Python Test Suite Component
3
+ #
4
+ # Copyright (c) 2007-2025, Ben Burton
5
+ # For further details contact Ben Burton (bab@debian.org).
6
+ #
7
+ # Provides detailed tests for flypes on model link graphs.
8
+ #
9
+ # This file is a single component of Regina's python test suite. To run
10
+ # the python test suite, move to the main python directory in the source
11
+ # tree and run "make check".
12
+ #
13
+ # This program is free software; you can redistribute it and/or
14
+ # modify it under the terms of the GNU General Public License as
15
+ # published by the Free Software Foundation; either version 2 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # As an exception, when this program is distributed through (i) the
19
+ # App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
20
+ # (iii) Google Play by Google Inc., then that store may impose any
21
+ # digital rights management, device limits and/or redistribution
22
+ # restrictions that are required by its terms of service.
23
+ #
24
+ # This program is distributed in the hope that it will be useful, but
25
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
+ # General Public License for more details.
28
+ #
29
+ # You should have received a copy of the GNU General Public License
30
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
31
+
32
+ def test(g):
33
+ for n in g.nodes():
34
+ for i in range(4):
35
+ start = n.arc(i)
36
+ args = g.findFlype(start)
37
+ if args[0]:
38
+ f = g.flype(start, args[0], args[1])
39
+ if (g.size() <= 52):
40
+ s = f.plantri()
41
+ else:
42
+ s = str(f)
43
+ print(n.index(), i, s)
44
+ print()
45
+
46
+ test(ExampleLink.figureEight().graph())
47
+ test(ExampleLink.whitehead().graph())
48
+ test(ExampleLink.gst().graph())
@@ -0,0 +1,116 @@
1
+ Triangulation: 5-D product #1
2
+
3
+ Connected: True
4
+ Orientable: True
5
+ Oriented: True
6
+ Boundary facets: 4
7
+
8
+ Bounded orientable 5-D triangulation, f = ( 1 5 10 10 5 1 )
9
+
10
+ Simplex | gluing: (01234) (01235) (01245) (01345) (02345) (12345)
11
+ ---------+---------------------------------------------------------------------------------------
12
+ 0 | 0 (12345) boundary boundary boundary boundary 0 (01234)
13
+
14
+
15
+ Triangulation: 5-D product #2
16
+
17
+ Connected: True
18
+ Orientable: True
19
+ Oriented: True
20
+ Boundary facets: 8
21
+
22
+ Bounded orientable 5-D triangulation, f = ( 2 10 20 20 10 2 )
23
+
24
+ Simplex | gluing: (01234) (01235) (01245) (01345) (02345) (12345)
25
+ ---------+---------------------------------------------------------------------------------------
26
+ 0 | 1 (12345) boundary boundary boundary boundary 1 (01234)
27
+ 1 | 0 (12345) boundary boundary boundary boundary 0 (01234)
28
+
29
+
30
+ Triangulation: 6-D product #1
31
+
32
+ Connected: True
33
+ Orientable: False
34
+ Oriented: False
35
+ Boundary facets: 5
36
+
37
+ Bounded non-orientable 6-D triangulation, f = ( 1 6 15 20 15 6 1 )
38
+
39
+ Simplex | gluing: (012345) (012346) (012356) (012456) (013456) (023456) (123456)
40
+ ---------+-----------------------------------------------------------------------------------------------------------
41
+ 0 | 0 (123456) boundary boundary boundary boundary boundary 0 (012345)
42
+
43
+
44
+ Triangulation: 6-D product #2
45
+
46
+ Connected: True
47
+ Orientable: True
48
+ Oriented: True
49
+ Boundary facets: 10
50
+
51
+ Bounded orientable 6-D triangulation, f = ( 2 12 30 40 30 12 2 )
52
+
53
+ Simplex | gluing: (012345) (012346) (012356) (012456) (013456) (023456) (123456)
54
+ ---------+-----------------------------------------------------------------------------------------------------------
55
+ 0 | 1 (123456) boundary boundary boundary boundary boundary 1 (012345)
56
+ 1 | 0 (123456) boundary boundary boundary boundary boundary 0 (012345)
57
+
58
+
59
+ Triangulation: 7-D product #1
60
+
61
+ Connected: True
62
+ Orientable: True
63
+ Oriented: True
64
+ Boundary facets: 6
65
+
66
+ Bounded orientable 7-D triangulation, f = ( 1 7 21 35 35 21 7 1 )
67
+
68
+ Simplex | gluing: (0123456) (0123457) (0123467) (0123567) (0124567) (0134567) (0234567) (1234567)
69
+ ---------+---------------------------------------------------------------------------------------------------------------------------------
70
+ 0 | 0 (1234567) boundary boundary boundary boundary boundary boundary 0 (0123456)
71
+
72
+
73
+ Triangulation: 7-D product #2
74
+
75
+ Connected: True
76
+ Orientable: True
77
+ Oriented: True
78
+ Boundary facets: 12
79
+
80
+ Bounded orientable 7-D triangulation, f = ( 2 14 42 70 70 42 14 2 )
81
+
82
+ Simplex | gluing: (0123456) (0123457) (0123467) (0123567) (0124567) (0134567) (0234567) (1234567)
83
+ ---------+---------------------------------------------------------------------------------------------------------------------------------
84
+ 0 | 1 (1234567) boundary boundary boundary boundary boundary boundary 1 (0123456)
85
+ 1 | 0 (1234567) boundary boundary boundary boundary boundary boundary 0 (0123456)
86
+
87
+
88
+ Triangulation: 8-D product #1
89
+
90
+ Connected: True
91
+ Orientable: False
92
+ Oriented: False
93
+ Boundary facets: 7
94
+
95
+ Bounded non-orientable 8-D triangulation, f = ( 1 8 28 56 70 56 28 8 1 )
96
+
97
+ Simplex | gluing: (01234567) (01234568) (01234578) (01234678) (01235678) (01245678) (01345678) (02345678) (12345678)
98
+ ---------+---------------------------------------------------------------------------------------------------------------------------------------------------------
99
+ 0 | 0 (12345678) boundary boundary boundary boundary boundary boundary boundary 0 (01234567)
100
+
101
+
102
+ Triangulation: 8-D product #2
103
+
104
+ Connected: True
105
+ Orientable: True
106
+ Oriented: True
107
+ Boundary facets: 14
108
+
109
+ Bounded orientable 8-D triangulation, f = ( 2 16 56 112 140 112 56 16 2 )
110
+
111
+ Simplex | gluing: (01234567) (01234568) (01234578) (01234678) (01235678) (01245678) (01345678) (02345678) (12345678)
112
+ ---------+---------------------------------------------------------------------------------------------------------------------------------------------------------
113
+ 0 | 1 (12345678) boundary boundary boundary boundary boundary boundary boundary 1 (01234567)
114
+ 1 | 0 (12345678) boundary boundary boundary boundary boundary boundary boundary 0 (01234567)
115
+
116
+
@@ -0,0 +1,74 @@
1
+ # Regina - A Normal Surface Theory Calculator
2
+ # Python Test Suite Component
3
+ #
4
+ # Copyright (c) 2015-2025, Ben Burton
5
+ # For further details contact Ben Burton (bab@debian.org).
6
+ #
7
+ # Provides tests for high-dimensional triangulations.
8
+ #
9
+ # This file is a single component of Regina's python test suite. To run
10
+ # the python test suite, move to the main python directory in the source
11
+ # tree and run "make check".
12
+ #
13
+ # This program is free software; you can redistribute it and/or
14
+ # modify it under the terms of the GNU General Public License as
15
+ # published by the Free Software Foundation; either version 2 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # As an exception, when this program is distributed through (i) the
19
+ # App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
20
+ # (iii) Google Play by Google Inc., then that store may impose any
21
+ # digital rights management, device limits and/or redistribution
22
+ # restrictions that are required by its terms of service.
23
+ #
24
+ # This program is distributed in the hope that it will be useful, but
25
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
+ # General Public License for more details.
28
+ #
29
+ # You should have received a copy of the GNU General Public License
30
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
31
+
32
+ def product1(triClass, dim, permClass):
33
+ tri = triClass()
34
+ s = tri.newSimplex()
35
+ s.join(dim, s, permClass(list(range(1, dim+1)) + [0]))
36
+ return tri
37
+
38
+ def product2(triClass, dim, permClass):
39
+ tri = triClass()
40
+ s = tri.newSimplex()
41
+ t = tri.newSimplex()
42
+ s.join(dim, t, permClass(list(range(1, dim+1)) + [0]))
43
+ t.join(dim, s, permClass(list(range(1, dim+1)) + [0]))
44
+ return tri
45
+
46
+ def dump(tri, name):
47
+ print('Triangulation:', name)
48
+ print()
49
+ print('Connected:', tri.isConnected())
50
+ print('Orientable:', tri.isOrientable())
51
+ print('Oriented:', tri.isOrientable())
52
+ print('Boundary facets:', tri.countBoundaryFacets())
53
+ print()
54
+ print(tri.detail())
55
+
56
+ def testDim(triClass, dim, permClass):
57
+ dump(product1(triClass, dim, permClass), str(dim) + '-D product #1')
58
+ dump(product2(triClass, dim, permClass), str(dim) + '-D product #2')
59
+
60
+ #testDim(Triangulation2, 2, Perm3)
61
+ #testDim(Triangulation3, 3, Perm4)
62
+ #testDim(Triangulation4, 4, Perm5)
63
+ testDim(Triangulation5, 5, Perm6)
64
+ testDim(Triangulation6, 6, Perm7)
65
+ testDim(Triangulation7, 7, Perm8)
66
+ testDim(Triangulation8, 8, Perm9)
67
+ #testDim(Triangulation9, 9, Perm10)
68
+ #testDim(Triangulation10, 10, Perm11)
69
+ #testDim(Triangulation11, 11, Perm12)
70
+ #testDim(Triangulation12, 12, Perm13)
71
+ #testDim(Triangulation13, 13, Perm14)
72
+ #testDim(Triangulation14, 14, Perm15)
73
+ #testDim(Triangulation15, 15, Perm16)
74
+