Exemple #1
0
        public void SimpleAIDataElementTestForIntegerNotInitialized()
        {
            //Arrange
            var simpleInteger = new SimpleAIDataElement <int?>();

            //Assert
            Assert.IsFalse(simpleInteger.GetAsBoolean());
            Assert.IsNull(simpleInteger.GetDataValue());
            Assert.AreEqual(simpleInteger.GetDataType(), typeof(int?));
        }