public void AddNode() { Tree.Node node = new Tree.Node("a"); node.Add("b"); Assert.AreEqual(1, node.Children.Count); }
public void EmptyNode() { Tree.Node node = new Tree.Node("a"); Assert.AreEqual("a", node.Data); Assert.AreEqual(0, node.Children.Count); }