예제 #1
0
        public void GetTagsTest()
        {
            var note = new NoteNode("testTag", "content");
            var tree = new NoteTree(note);
            IEnumerable <string> list = tree.GetTags();

            Assert.AreEqual(list.Count(), 1);
            Assert.AreEqual(list.ElementAt(0), "testTag");
        }