public void SetFullYearWithThreeParametersWorks() { var dt = new JsDate(2000, 0, 1); dt.SetFullYear(2021, 7, 13); Assert.AreEqual(dt.GetFullYear(), 2021); Assert.AreEqual(dt.GetMonth(), 7); Assert.AreEqual(dt.GetDate(), 13); }
public void SetFullYearWithOneParameterWorks() { var dt = new JsDate(2000, 0, 1); dt.SetFullYear(2021); Assert.AreEqual(dt.GetFullYear(), 2021); }