MartinPacker / filterCSV

Tools to manipulate CSV files in a format suitable for importing into various mindmapping programs - such as iThoughts, Freemind, and MindNode.
MIT License
32 stars 8 forks source link

test_calculateMaximumLevel() over 3 generations #37

Closed cclauss closed 4 years ago

cclauss commented 4 years ago

Fixes #44 with def dump_CSVTree(csv_tree: filterCSV.CSVTree) -> str: which generates...

shape      colour     note       0          position   cell
  child      child      child      1          child      child
      grandchild grandchild grandchild 3          grandchild grandchild
cclauss commented 4 years ago

~Why does this test fail?~

cclauss commented 4 years ago

It was failing because ["level"] needs to be a str. Now it passes!

cclauss commented 4 years ago

You can merge this at will... It only effects the test file.

You might want to hit the Squash and Merge button to squeeze all the commits into one.