Beispiel #1
0
        public void TestReaddingOfChildNodeAfterRemovalByName()
        {
            Node node      = new BspSceneNode(this.fakeSceneManager);
            Node childNode = node.CreateChild(Name);

            node.RemoveChild(Name);
            node.AddChild(childNode);
        }
Beispiel #2
0
        public void TestRecreationOfChildNodeAfterRemovalByReference()
        {
            Node node      = new BspSceneNode(this.fakeSceneManager);
            Node childNode = node.CreateChild(Name);

            node.RemoveChild(childNode);
            node.CreateChild(Name);
        }
Beispiel #3
0
        public void TestRecreationOfChildNodeAfterRemovalByName()
        {
            Node node = new BspSceneNode(this.sceneManager);

            node.CreateChild(Name);

            node.RemoveChild(Name);
            node.CreateChild(Name);
        }