Ejemplo n.º 1
0
        public void XmpID_ImplicitFromString()
        {
            string guid  = "xmp.did:bc07cbcd-9eb4-405f-8c8f-20666219e6ca";
            XmpID  xmpId = guid;

            Assert.Equal(guid, xmpId.ToString());
        }
Ejemplo n.º 2
0
        public void XmpID_ToStringTest()
        {
            string expected;
            string actual;
            XmpID  target;

            expected = "xmp.did:bc07cbcd-9eb4-405f-8c8f-20666219e6ca";
            target   = new XmpID(expected);
            actual   = target.ToString();

            Assert.Equal(expected, actual);
        }