Commit 1fd58614 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent db628bed
...@@ -69,6 +69,8 @@ class Tree: ...@@ -69,6 +69,8 @@ class Tree:
return s return s
__repr__ = __str__ __repr__ = __str__
#def __repr__(t):
# return 'R'+str(t)
# TODO def dot() -> str for graphviz # TODO def dot() -> str for graphviz
# TODO def TopoEncode() -> str with topology encoding # TODO def TopoEncode() -> str with topology encoding
......
...@@ -146,6 +146,9 @@ def test_AllStructs(): ...@@ -146,6 +146,9 @@ def test_AllStructs():
T([0], T([0],
T([], B()), T([], B()),
T([2], B(1), B(3))), T([2], B(1), B(3))),
T([0],
T([], B()),
T([3], B(1), B(3))),
T([1], B(), B(1,3)), T([1], B(), B(1,3)),
...@@ -176,9 +179,9 @@ def test_AllStructs(): ...@@ -176,9 +179,9 @@ def test_AllStructs():
#T([0], #T([0],
# T([], B()), # T([], B()),
# T([2], B(1), B(3))), # T([2], B(1), B(3))),
T([0], #T([0],
T([], B()), # T([], B()),
T([3], B(1), B(3))), # T([3], B(1), B(3))),
T([0], T([0],
T([], B()), T([], B()),
T([4], B(1,3), B())), T([4], B(1,3), B())),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment