public void PosTest3()
        {
            System.Globalization.Calendar tc = new TaiwanCalendar();
            int year = 8088;

            Assert.Equal(year, tc.ToFourDigitYear(year));
        }
        public void PosTest1()
        {
            System.Globalization.Calendar tc = new TaiwanCalendar();
            Random rand = new Random(-55);
            int    year = rand.Next(1, 8088);

            Assert.Equal(year, tc.ToFourDigitYear(year));
        }
        public void NegTest2()
        {
            System.Globalization.Calendar tc = new TaiwanCalendar();
            int year = 0;

            Assert.Throws <ArgumentOutOfRangeException>(() =>
            {
                tc.ToFourDigitYear(year);
            });
        }