/ Check-in [47b64182]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Strengthen the final test case in index5.test. Also provide additional diagnostic information out the output.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 47b6418242bb2cd718d1a73b0cb73a43ee74e503
User & Date: drh 2013-02-25 13:55:59
Context
2013-02-25
14:39
Add new SQL functions unicode() and char(). check-in: be249390 user: drh tags: trunk
13:55
Strengthen the final test case in index5.test. Also provide additional diagnostic information out the output. check-in: 47b64182 user: drh tags: trunk
13:44
Fix an error in test script index5.test. check-in: d87e5acf user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/index5.test.

    60     60       } elseif {$iNext==($iPrev-1)} { 
    61     61         incr nBackward 
    62     62       } else {
    63     63         incr nNoncont
    64     64       }
    65     65       set iPrev $iNext
    66     66     }
           67  +  puts -nonewline \
           68  +      " (forward=$nForward, back=$nBackward, noncontiguous=$nNoncont)"
    67     69   
    68         -  expr {$nForward > $nBackward}
           70  +  expr {$nForward > 25*($nBackward + $nNoncont)}
    69     71   } {1}
    70     72   db close
    71     73   tvfs delete
    72     74   
    73     75   finish_test
    74         -