public void TestIgnoredTags()
        {
            parser = new USFMToolsSharp.USFMParser(new List <string> {
                "bd", "bd*"
            });
            USFMDocument doc = parser.ParseFromString("\\v 1 In the beginning \\bd God \\bd*");

            Assert.AreEqual(1, doc.Contents.Count);
            VMarker vm = (VMarker)doc.Contents[0];

            Assert.AreEqual(1, vm.Contents.Count);
            TextBlock tb = (TextBlock)vm.Contents[0];

            Assert.AreEqual(0, tb.Contents.Count);
            Assert.AreEqual("In the beginning ", tb.Text);
        }
        public void TestIdentificationMarkers()
        {
            Assert.AreEqual("Genesis", ((IDMarker)parser.ParseFromString("\\id Genesis").Contents[0]).TextIdentifier);
            Assert.AreEqual("UTF-8", ((IDEMarker)parser.ParseFromString("\\ide UTF-8").Contents[0]).Encoding);
            Assert.AreEqual("2", ((STSMarker)parser.ParseFromString("\\sts 2").Contents[0]).StatusText);

            Assert.AreEqual("3.0", ((USFMMarker)parser.ParseFromString("\\usfm 3.0").Contents[0]).Version);

            USFMDocument doc = parser.ParseFromString("\\rem Remark");

            Assert.IsInstanceOfType(doc.Contents[0], typeof(REMMarker));
            REMMarker rem = (REMMarker)doc.Contents[0];

            Assert.AreEqual("Remark", rem.Comment);
        }