/ Check-in [47b64182]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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 Unified Diffs Ignore Whitespace Patch

Changes to test/index5.test.

60
61
62
63
64
65
66


67
68
69
70
71
72
73
74
    } elseif {$iNext==($iPrev-1)} { 
      incr nBackward 
    } else {
      incr nNoncont
    }
    set iPrev $iNext
  }



  expr {$nForward > $nBackward}
} {1}
db close
tvfs delete

finish_test








>
>

|





<
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

    } elseif {$iNext==($iPrev-1)} { 
      incr nBackward 
    } else {
      incr nNoncont
    }
    set iPrev $iNext
  }
  puts -nonewline \
      " (forward=$nForward, back=$nBackward, noncontiguous=$nNoncont)"

  expr {$nForward > 25*($nBackward + $nNoncont)}
} {1}
db close
tvfs delete

finish_test