public void ToMssqlRangeDateTimNullablee_ShouldReturnDate_IfDateIsValidMssqlDate() { DateTime? d = new DateTime(1753, 1, 1); var result = d.ToMssqlRangeDateTime(); Assert.AreEqual(d, result); }
public void ToMssqlRangeDateTime_ShouldReturnDate_IfDateIsValidMssqlDate() { var d = new DateTime(1753, 1, 1); var result = d.ToMssqlRangeDateTime(DateTime.MaxValue); Assert.AreEqual(d, result); }