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); }
public void SetUp() { Parser = new MarkdownParser(); TokenizerFactory = new MarkdownTokenizerFactory(); }