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

CurrentDate() private method

private CurrentDate ( ) : void
return void
        public void CurrentDate()
        {
            var value = Select("DATE");

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

            // It is impossible to determine the value of the current date
            // in this test scenario
        }