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