public void TestMaximumRange(int location, int length, NSCalendarUnit unit) { var cal = new NSCalendar(NSCalendarType.Gregorian); var range = cal.MaximumRange(unit); Assert.AreEqual(length, range.Length); Assert.AreEqual(location, range.Location); }
public void TestMaximumRange(int location, int length, NSCalendarUnit unit) { var cal = new NSCalendar(NSCalendarType.Gregorian); var range = cal.MaximumRange(unit); Assert.AreEqual(length, range.Length); Assert.AreEqual(location, range.Location); }