public static void GetYearEnd_ForYear9999_Throws() { AssertExtensions.Throws <ArgumentOutOfRangeException>("value", () => ISOWeek.GetYearEnd(9999)); }
public static void GetYearEnd(int year, DateTime expected) { Assert.Equal(expected, ISOWeek.GetYearEnd(year)); }