public void Sequence_CompoundTask()
        {
            // Arrange
            var builder = new DomainBuilder <MyContext>("Test");

            // Act
            builder.CompoundTask <Sequence>("sequence test");

            // Assert
            Assert.AreEqual(true, builder.Pointer is Sequence);
        }
        public void Selector_CompoundTask()
        {
            // Arrange
            var builder = new DomainBuilder <MyContext>("Test");

            // Act
            builder.CompoundTask <Selector>("select test");

            // Assert
            Assert.AreEqual(false, builder.Pointer is TaskRoot);
            Assert.AreEqual(true, builder.Pointer is Selector);
        }