public void before_now() { var timespan = new TimeSpan(1, 0, 0, 0); Assert.True(timespan.BeforeNow().IsSameDate(DateTime.Now.Subtract(timespan))); }