summaryrefslogtreecommitdiff
path: root/jstests/geo_box1.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-03-16 08:48:24 -0400
committerEliot Horowitz <eliot@10gen.com>2010-03-16 08:48:24 -0400
commit3c454428299aa050390dc60238b724d51bd5c23e (patch)
tree86efe4b53ea8b0167c3a05c491f20569cb78524e /jstests/geo_box1.js
parentc09ded578037bab3cd1d3ac6b215cda001f2c899 (diff)
downloadmongo-3c454428299aa050390dc60238b724d51bd5c23e.tar.gz
some test that aren't done
Diffstat (limited to 'jstests/geo_box1.js')
-rw-r--r--jstests/geo_box1.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/jstests/geo_box1.js b/jstests/geo_box1.js
new file mode 100644
index 00000000000..20ab8882888
--- /dev/null
+++ b/jstests/geo_box1.js
@@ -0,0 +1,12 @@
+
+t = db.geo_box1;
+t.drop();
+
+for ( x=0; x<=20; x++ )
+ for ( y=0; y<=20; y++ )
+ t.save( { loc : [ x , y ] } )
+
+t.ensureIndex( { loc : "2d" } );
+
+
+