Exemplo n.º 1
0
        public void TestMinimumRange(int location, int length, NSCalendarUnit unit)
        {
            var cal   = new NSCalendar(NSCalendarType.Gregorian);
            var range = cal.MinimumRange(unit);

            Assert.AreEqual(location, range.Location);
            Assert.AreEqual(length, range.Length);
        }