示例#1
0
        public void Setup()
        {
            Parser    = new MarkdownParser();
            Factory   = new MarkdownTokenizerFactory();
            Converter = new NodeToHtmlEntityConverter();

            var          random        = new Random(42);
            const string sampleSymbols = "abcde__ ";

            var symbols = new char[Length];

            for (int i = 0; i < Length; i++)
            {
                symbols[i] = sampleSymbols[random.Next(sampleSymbols.Length)];
            }
            Data = new string(symbols);
        }
示例#2
0
 public void SetUp()
 {
     Parser           = new MarkdownParser();
     TokenizerFactory = new MarkdownTokenizerFactory();
 }