예제 #1
0
        public void Test_SetDateTime()
        {
            GDMDate  instance = new GDMDate(null);
            DateTime expResult;

            try {
                expResult = ParseDT("1980-01-20");
                instance.SetDateTime(expResult);
                Assert.AreEqual(expResult, instance.GetDateTime());
            } catch (Exception) {
                Assert.Fail("Parse exception for date");
            }
        }