Lucene.Net.Search.TestSloppyPhraseQuery.TestDoc5_Query5_Any_Slop_Should_be_consistent C# (CSharp) Метод

TestDoc5_Query5_Any_Slop_Should_be_consistent() приватный Метод

private TestDoc5_Query5_Any_Slop_Should_be_consistent ( ) : void
Результат void
        public virtual void TestDoc5_Query5_Any_Slop_Should_be_consistent()
        {
            int nRepeats = 5;
            for (int slop = 0; slop < 3; slop++)
            {
                for (int trial = 0; trial < nRepeats; trial++)
                {
                    // should steadily always find this one
                    CheckPhraseQuery(DOC_5_4, QUERY_5_4, slop, 1);
                }
                for (int trial = 0; trial < nRepeats; trial++)
                {
                    // should steadily never find this one
                    CheckPhraseQuery(DOC_5_3, QUERY_5_4, slop, 0);
                }
            }
        }