示例#1
0
 public void DateNullReturnsExpectedInstance()
 {
     Assert.That(TSql.Date(null), Is.EqualTo(TSqlDateNullValue.Instance));
 }
示例#2
0
        public void DateReturnsExpectedInstance()
        {
            var value = DateTime.UtcNow;

            Assert.That(TSql.Date(value), Is.EqualTo(new TSqlDateValue(value)));
        }