Deveel.Data.SystemDateFunctionTests.AddDate_Hour C# (CSharp) Method

AddDate_Hour() private method

private AddDate_Hour ( ) : void
return void
        public void AddDate_Hour()
        {
            var date = new SqlDateTime(1980, 02, 05, 18, 20, 11, 32);
            var value = Select("ADD_DATE", SqlExpression.Constant(date), SqlExpression.Constant("hour"),
                SqlExpression.Constant(27));

            Assert.IsNotNull(value);
            Assert.IsFalse(value.IsNull);
            Assert.IsInstanceOf<DateType>(value.Type);
            Assert.IsInstanceOf<SqlDateTime>(value.Value);

            // TODO: Assert result
        }