Example #1
0
 public void DateTime2NullReturnsExpectedInstance()
 {
     Assert.That(TSql.DateTime2(null, 3), Is.EqualTo(new TSqlDateTime2NullValue(new TSqlDateTime2Precision(3))));
 }
Example #2
0
        public void DateTime2ReturnsExpectedInstance()
        {
            var value = DateTime.UtcNow;

            Assert.That(TSql.DateTime2(value, 3), Is.EqualTo(new TSqlDateTime2Value(value, 3)));
        }