You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
260 B
9 lines
260 B
from sympy.liealgebras.dynkin_diagram import DynkinDiagram
|
|
|
|
def test_DynkinDiagram():
|
|
c = DynkinDiagram("A3")
|
|
diag = "0---0---0\n1 2 3"
|
|
assert c == diag
|
|
ct = DynkinDiagram(["B", 3])
|
|
diag2 = "0---0=>=0\n1 2 3"
|
|
assert ct == diag2
|