Exemplo n.º 1
0
        public void YearsTest(double months, double expectedYears, int expectedYear)
        {
            var dateTime = HenHenTime.FromMonths(months);

            Assert.AreEqual(expectedYears, dateTime.Years);
            Assert.AreEqual(expectedYear, dateTime.Year);
        }
Exemplo n.º 2
0
        public void SeasonTest(double months, int expectedSeason)
        {
            var dateTime = HenHenTime.FromMonths(months);

            Assert.AreEqual(expectedSeason, dateTime.Season);
        }