public void ChildActive()
        {
            var inverter  = new Inverter();
            var childNode = new FixedStateNode(NodeState.Active);

            inverter.Child = childNode;

            inverter.Start();
            inverter.Update();

            Assert.AreEqual(NodeState.Active, inverter.Status);
        }
        public void ChildFailure()
        {
            var inverter  = new Inverter();
            var childNode = new FixedStateNode(NodeState.Failure);

            inverter.Child = childNode;

            inverter.Start();
            inverter.Update();

            Assert.AreEqual(NodeState.Successful, inverter.Status);
        }