Пример #1
0
        public void CreateTreeAndRegisterRoot()
        {
            var tree = new PathTree();

            tree.AddNode(prefix, id);
            tree.RemoveNode(prefix, id);

            var node = tree.FindNode(prefix);

            if (Platform.IsWindows)
            {
                Assert.IsNull(node);
            }
            else
            {
                Assert.IsNotNull(node);
                Assert.AreEqual(false, node.IsLive);
            }
        }