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

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