Lucene.Net.Analysis.Synonym.TestSynonymMapFilter.TestRandomHuge C# (CSharp) Method

TestRandomHuge() private method

private TestRandomHuge ( ) : void
return void
        public virtual void TestRandomHuge()
        {
            Random random = Random();
            int numIters = AtLeast(3);
            for (int i = 0; i < numIters; i++)
            {
                b = new SynonymMap.Builder(random.nextBoolean());
                int numEntries = AtLeast(10);
                if (VERBOSE)
                {
                    Console.WriteLine("TEST: iter=" + i + " numEntries=" + numEntries);
                }
                for (int j = 0; j < numEntries; j++)
                {
                    Add(RandomNonEmptyString(), RandomNonEmptyString(), random.nextBoolean());
                }
                SynonymMap map = b.Build();
                bool ignoreCase = random.nextBoolean();

                Analyzer analyzer = new AnalyzerAnonymousInnerClassHelper4(this, map, ignoreCase);

                CheckRandomData(random, analyzer, 100, 1024);
            }
        }