Esempio n. 1
0
        public void SegmentParser_GetTag_StandaloneTag()
        {
            string value = "<ut Type=\"start\" RightEdge=\"angle\"/>";

            SegmentElement actual = SegmentParser.GetTag(value);

            Assert.AreEqual(TagType.Standalone, (actual as Tag).Type);
            Assert.AreEqual(@"ut", (actual as Tag).TagID);
            Assert.IsNotNull((actual as Tag).Anchor);
        }