Exemple #1
0
        public void NotesToString()
        {
            var note   = new NoteNode("test", "test");
            var tree   = new NoteTree(note);
            var output = tree.ToString();

            var parser  = new NoteParser(output);
            var tree2   = parser.GetTree();
            var output2 = tree2.ToString();

            Assert.AreEqual(output, output2);
        }