public void ToStringTest()
        {
            primitiveType obj = new primitiveType("ID");

            obj.Value = "MAYUE";
            Assert.AreEqual("MAYUE", obj.ToString());
        }
Exemplo n.º 2
0
        public void ToStringTest()
        {
            primitiveType obj = new primitiveType("TS");

            obj.Value = DateTime.Now.ToString("yyyyMMddhhmmss.fff");
            DateTime dt = DateTime.Now;

            obj.ToString();
            Assert.AreEqual(dt.ToString("yyyyMMddhhmmss.fff"), obj.Value);
        }