public void TestDistinctLevels_1Level() { m_qmList.RemoveLastLevel(); m_qmList[0].Opening = "<<"; m_qmList[0].Closing = ">>"; Assert.AreEqual(1, m_qmList.DistinctLevels); }
// The tests verify the inconsistencies found in various combinations of: // Correct or incorrect quotation marks // Appropriate or inappropriate writing system properties #region New test setup of quotation marks for levels void SetupEnglish1() { m_qmarks = QuotationMarksList.NewList(); m_qmarks.RemoveLastLevel(); m_qmarks.QMarksList[0].Opening = "\u201C"; // Left double quotation mark m_qmarks.QMarksList[0].Closing = "\u201D"; // Right double quotation mark m_qmarks.ContinuationMark = ParagraphContinuationMark.None; m_qmarks.ContinuationType = ParagraphContinuationType.None; m_source.SetParameterValue("QuotationMarkInfo", m_qmarks.XmlString); }