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