question: private static void doTestRangeScan ( int fullBlocks , int partialBlocks , boolean invertLoopIndexes ) { int value ; int value2 ; int count = 0 ; for ( int i = 0 ; i <= 100 ; i ++ ) { for ( int j = 0 ; j <= 100 ; j ++ ) { if ( invertLoopIndexes ) { value = j ; value2 = i ; } else { value = i ; value2 = j ; } String [ ] split = callCalculateSuffix ( value , value2 , fullBlocks , partialBlocks ) ; for ( String suffix : split ) { String [ ] values = suffix . split ( "\\+" ) ; if ( values . length > 1 ) { value = Integer . parseInt ( values [ 0 ] ) ; value2 = Integer . parseInt ( values [ 1 ] ) ; if ( value > 5 || value2 > 5 ) { count ++ ; StringBuilder msg = new StringBuilder ( ) ; msg . append ( "Found incorrect value " ) ; msg . append ( suffix ) ; msg . append ( ". value = " ) ; msg . append ( invertLoopIndexes ? j : i ) ; msg . append ( " value2 = " ) ; msg . append ( invertLoopIndexes ? i : j ) ; msg . append ( " fullBlocks = " ) ; msg . append ( fullBlocks ) ; msg . append ( " partialBlocks = " ) ; msg . append ( partialBlocks ) ; } } } } } if ( count > 0 ) { fail ( "Incorrect values were founded " + count + " times" ) ; } }
target:  Do test range scan.