void Test(string[] result, string text)
		{
			source.Text = text;

			SentenceFinalPunctCapitalizationCheck check = new SentenceFinalPunctCapitalizationCheck(source);
			List<TextTokenSubstring> tts =
				check.GetReferences(source.TextTokens(), "");

			Assert.AreEqual(result.GetUpperBound(0)+1, tts.Count,
				"A different number of results was returned than what was expected." );

			for (int i = 0; i <= result.GetUpperBound(0); ++i)
				Assert.AreEqual(result[i], tts[i].InventoryText, "Result number: " + i.ToString());
		}
        void Test(string[] result, string text)
        {
            source.Text = text;

            SentenceFinalPunctCapitalizationCheck check = new SentenceFinalPunctCapitalizationCheck(source);
            List <TextTokenSubstring>             tts   =
                check.GetReferences(source.TextTokens(), "");

            Assert.AreEqual(result.GetUpperBound(0) + 1, tts.Count,
                            "A different number of results was returned than what was expected.");

            for (int i = 0; i <= result.GetUpperBound(0); ++i)
            {
                Assert.AreEqual(result[i], tts[i].InventoryText, "Result number: " + i.ToString());
            }
        }