Exemple #1
0
 public void DateTimeNullReturnsExpectedInstance()
 {
     Assert.That(TSql.DateTime(null), Is.EqualTo(TSqlDateTimeNullValue.Instance));
 }
Exemple #2
0
        public void DateTimeReturnsExpectedInstance()
        {
            var value = DateTime.UtcNow;

            Assert.That(TSql.DateTime(value), Is.EqualTo(new TSqlDateTimeValue(value)));
        }