Acquarella.Tests.Configuration.TextConfigurationTests.SetAndGetFormatWithDots C# (CSharp) 메소드

SetAndGetFormatWithDots() 개인적인 메소드

private SetAndGetFormatWithDots ( ) : void
리턴 void
        public void SetAndGetFormatWithDots()
        {
            TextConfiguration config = new TextConfiguration();

            config.SetFormat("Keyword", "<keyword>...</keyword>");

            Assert.IsNotNull(config.Formats);
            Assert.AreEqual(2, config.Formats.Count);
            Assert.AreEqual("<keyword>", config.Formats["KeywordBegin"]);
            Assert.AreEqual("</keyword>", config.Formats["KeywordEnd"]);
        }