예제 #1
0
        public void currentMonth()
        {
            string dateString;

            if (date.Month <= 9)
            {
                dateString = "0" + Convert.ToString(date.Month);
            }
            else
            {
                dateString = Convert.ToString(date.Month);
            }

            Assert.AreEqual(gd.currentMonth(), dateString);
        }