Lucene.Net.Analysis.TestMockAnalyzer.TestRandomRegexps C# (CSharp) Method

TestRandomRegexps() private method

private TestRandomRegexps ( ) : void
return void
        public virtual void TestRandomRegexps()
        {
            int iters = AtLeast(30);
            for (int i = 0; i < iters; i++)
            {
                CharacterRunAutomaton dfa = new CharacterRunAutomaton(AutomatonTestUtil.RandomAutomaton(Random()));
                bool lowercase = Random().NextBoolean();
                int limit = TestUtil.NextInt(Random(), 0, 500);
                Analyzer a = new AnalyzerAnonymousInnerClassHelper2(this, dfa, lowercase, limit);
                CheckRandomData(Random(), a, 100);
                a.Dispose();
            }
        }