SILUBS.ScriptureChecks.CapitalizationCheckSilUnitTest.Paragraph_UncapitalizedWithDiacritic_SeveralTokensInNotes C# (CSharp) Method

Paragraph_UncapitalizedWithDiacritic_SeveralTokensInNotes() private method

		public void Paragraph_UncapitalizedWithDiacritic_SeveralTokensInNotes()
		{
			m_dataSource.m_tokens.Add(new DummyTextToken(
				"e\u0301 is small latin 'e' with acute in decomposed format, my friend! " +
				"a\u0301 is an 'a' with the same. i\u0301 is an 'i' with the same.",
				TextType.Verse, true, true, "Line1"));
			m_dataSource.m_tokens.Add(new DummyTextToken("o\u0303 is small latin 'o' with tilde, my friend! ",
				TextType.Verse, true, true, "Line1"));
			m_dataSource.m_tokens.Add(new DummyTextToken("\u00FC is small latin 'u' with diaeresis, my friend! ",
				TextType.Verse, true, false, "Line1"));
			m_check.Check(m_dataSource.TextTokens(), RecordError);
			Assert.AreEqual(5, m_errors.Count);

			CheckError(0, m_dataSource.m_tokens[0].Text, 0, "e\u0301", "Sentence should begin with a capital letter");
			CheckError(1, m_dataSource.m_tokens[0].Text, 66, "a\u0301", "Sentence should begin with a capital letter");
			CheckError(2, m_dataSource.m_tokens[0].Text, 94, "i\u0301", "Sentence should begin with a capital letter");
			CheckError(3, m_dataSource.m_tokens[1].Text, 0, "o\u0303", "Sentence should begin with a capital letter");
			CheckError(4, m_dataSource.m_tokens[2].Text, 0, "\u00FC", "Sentence should begin with a capital letter");
		}
CapitalizationCheckSilUnitTest