Exemple #1
0
        public void TestSinglelineValue()
        {
            string f       = @"../../abstract-classes-cpp.md";
            string content = File.ReadAllText(f);
            string tag     = "ms.assetid";

            Assert.IsFalse(YMLMeister.IsMultilineValue(content, tag));
        }
Exemple #2
0
        public void TestMultilineValue()
        {
            YMLMeister YMLMeister = new YMLMeister();
            string     f          = @"../../abstract-classes-cpp.md";
            string     content    = File.ReadAllText(f);
            string     tag        = "helpviewer_keywords";

            Assert.IsTrue(YMLMeister.IsMultilineValue(content, tag));
        }