Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: third_party/sqlite/src/ext/rtree/rtree5.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # 2008 Jul 14 1 # 2008 Jul 14
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
11 # 11 #
12 # The focus of this file is testing the r-tree extension when it is 12 # The focus of this file is testing the r-tree extension when it is
13 # configured to store values as 32 bit integers. 13 # configured to store values as 32 bit integers.
14 # 14 #
15 # $Id: rtree5.test,v 1.1 2008/07/14 15:37:01 danielk1977 Exp $
16 #
17 15
18 if {![info exists testdir]} { 16 if {![info exists testdir]} {
19 set testdir [file join [file dirname $argv0] .. .. test] 17 set testdir [file join [file dirname [info script]] .. .. test]
20 } 18 }
21 source $testdir/tester.tcl 19 source $testdir/tester.tcl
22 20
23 ifcapable !rtree { 21 ifcapable !rtree {
24 finish_test 22 finish_test
25 return 23 return
26 } 24 }
27 25
28 do_test rtree5-1.0 { 26 do_test rtree5-1.0 {
29 execsql { CREATE VIRTUAL TABLE t1 USING rtree_i32(id, x1, x2, y1, y2) } 27 execsql { CREATE VIRTUAL TABLE t1 USING rtree_i32(id, x1, x2, y1, y2) }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } {2 2147483643 2147483647 -2147483648 -2147483643} 69 } {2 2147483643 2147483647 -2147483648 -2147483643}
72 do_test rtree5-1.13 { 70 do_test rtree5-1.13 {
73 execsql { 71 execsql {
74 SELECT * FROM t1 WHERE 72 SELECT * FROM t1 WHERE
75 x1=2147483643 AND x2=2147483647 AND 73 x1=2147483643 AND x2=2147483647 AND
76 y1=-2147483648 AND y2=-2147483643 74 y1=-2147483648 AND y2=-2147483643
77 } 75 }
78 } {2 2147483643 2147483647 -2147483648 -2147483643} 76 } {2 2147483643 2147483647 -2147483648 -2147483643}
79 77
80 finish_test 78 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/ext/rtree/rtree4.test ('k') | third_party/sqlite/src/ext/rtree/rtree6.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698