Exemplo n.º 1
0
        public void PlusMonths(int year, int month, int monthsToAdd, int expectedYear, int expectedMonth)
        {
            var yearMonth = new YearMonth(year, month);
            var expected  = new YearMonth(expectedYear, expectedMonth);

            Assert.AreEqual(expected, yearMonth.PlusMonths(monthsToAdd));
        }