Esempio n. 1
0
 public void InOneGigasecond_SpecifyOnlyTime_TimeIsCorrect()
 {
     Assert.AreEqual(
         new DateTime(2043, 1, 1, 1, 46, 40),
         Gigasecond.InOneGigasecond(new DateTime(2011, 4, 25)));
 }
Esempio n. 2
0
 public void InOneGigasecond_SpecifyFullTime_TimeIsCorrect()
 {
     Assert.AreEqual(
         new DateTime(2046, 10, 2, 23, 46, 40),
         Gigasecond.InOneGigasecond(new DateTime(2015, 1, 24, 22, 0, 0)));
 }