Пример #1
0
 def test_write_file(self):
     mm = MindMap()
     mm.writefile('test_write.mm')
Пример #2
0
 def test_read_file(self):
     mm = MindMap()
     mm.readfile('../docs/input.mm')
     self.assertTrue(mm)
     self.assertTrue(mm.getroot())
     mm.writefile('input_2.mm')