1111)
1212
1313
14- @pytest .mark .skipif (not os .environ .get ("KnotTheory" , False ),
15- reason = "set environment variable KnotTheory to run this test" )
14+ @pytest .mark .skipif (
15+ not os .environ .get ("KnotTheory" , False ),
16+ reason = "set environment variable KnotTheory to run this test" ,
17+ )
1618def test_knottheory ():
1719 evaluate (
1820 """K = PD[X[1,9,2,8], X[3,10,4,11],
@@ -24,13 +26,12 @@ def test_knottheory():
2426 (r"Crossings[K]" , "6" ),
2527 # ("PD[BR[4, {-1, 2, 3, -2, -1}]]",
2628 # "D[X[8, 2, 3, 1], X[10, 4, 9, 3], X[5, 5, 6, 4], X[9, 6, 10, 7], X[1, 7, 2, 8]]"),
27- ("BR[TorusKnot[5, 4]]" ,
28- "BR[4, {1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3}]" ,
29- ),
30- ("Crossings[TorusKnot[5, 4]]" ,
31- "15" ),
32- ("Crossings[TorusKnot[20, 34]]" ,
33- "660" ),
29+ (
30+ "BR[TorusKnot[5, 4]]" ,
31+ "BR[4, {1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3}]" ,
32+ ),
33+ ("Crossings[TorusKnot[5, 4]]" , "15" ),
34+ ("Crossings[TorusKnot[20, 34]]" , "660" ),
3435 # ("SymmetryType[Knot[4, 1]]", "FullyAmphicheiral"),
3536 # (
3637 # "ColouredJones[Knot[4, 1], 3][q]",
0 commit comments