public void MatchListSingleInSentence()
        {
            string sentence = "This is [voice: female]a test[endvoice].";

            System.Collections.Generic.List <PowerPointLabs.Tags.ITag> matches = new StartVoiceTagMatcher().Matches(sentence);

            Assert.IsTrue(matches.Any(), "No matches found.");
            Assert.IsTrue(matches.Count == 1, "More than one match.");

            PowerPointLabs.Tags.ITag match = matches[0];
            Assert.IsTrue(match.Start == 8, "Match start was incorrect.");
            Assert.IsTrue(match.End == 22, "Match end was incorrect.");
        }
        public void MatchSingleInSentence()
        {
            string sentence = "This has a pause [pause: 2] right here.";

            System.Collections.Generic.List <PowerPointLabs.Tags.ITag> matches = new PauseTagMatcher().Matches(sentence);

            Assert.IsTrue(matches.Any(), "No matches found.");
            Assert.IsTrue(matches.Count == 1, "More than one match.");

            PowerPointLabs.Tags.ITag match = matches[0];
            Assert.IsTrue(match.Start == 17, "Match start was incorrect.");
            Assert.IsTrue(match.End == 26, "Match end was incorrect.");
        }