public void Add2MonthsTest() { var Date1 = new KoreanDate(1, KoreanDateEraType.Joseon, 4, 8); var Date2 = new KoreanDate(1, KoreanDateEraType.Joseon, 6, 8); Date1.AddMonths(2); Assert.AreEqual(Date2, Date1); }
public void Add1MonthAtEndOfYear2Test() { var Date1 = new KoreanDate(2, KoreanDateEraType.Joseon, 13, 8); var Date2 = new KoreanDate(3, KoreanDateEraType.Joseon, 1, 8); Date1.AddMonths(1); Assert.AreEqual(Date2, Date1); }