public void ShouldHaveCorrectMilleniumDate()
        {
            var sut    = new SpecialDateStore();
            var result = sut.DateOf(SpecialDates.NewMillennium);

            Assert.That(result, Is.EqualTo(new DateTime(2000, 1, 1, 0, 0, 0, 0)));
        }
        public void ShouldHaveCorrectMillenniumDate_WithTolerance()
        {
            var sut = new SpecialDateStore();
            var result = sut.DateOf(SpecialDateStoreTests.NewMillennium);
            Assert.That(result, Is.EqualTo(new DateTime(2000, 1, 1, 0, 0, 0, 1)));

            //Assert.That(result, Is.EqualTo(new DateTime(2000,1,1,0,0,0,1)).Within(TimeSpan.FromMilliseconds(1)));

            //Assert.That(result, Is.EqualTo(new DateTime(2000,1,1,0,0,0,0)).Within(1).Milliseconds);
        }
        public void ShouldHaveCorrectMillenniumDate_WithTolerance()
        {
            var sut    = new SpecialDateStore();
            var result = sut.DateOf(SpecialDateStoreTests.NewMillennium);

            Assert.That(result, Is.EqualTo(new DateTime(2000, 1, 1, 0, 0, 0, 1)));

            //Assert.That(result, Is.EqualTo(new DateTime(2000,1,1,0,0,0,1)).Within(TimeSpan.FromMilliseconds(1)));

            //Assert.That(result, Is.EqualTo(new DateTime(2000,1,1,0,0,0,0)).Within(1).Milliseconds);
        }
 public void ShouldHaveCorrectMilleniumDate()
 {
     var sut = new SpecialDateStore();
     var result = sut.DateOf(SpecialDates.NewMillennium);
     Assert.That(result, Is.EqualTo(new DateTime(2000,1,1,0,0,0,0)));
 }