summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/geo_near_random1.js
blob: c9ea5f1da7c3d8f845c572953cf7cba16f924697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// this tests all points using $near
load("jstests/libs/geo_near_random.js");

var test = new GeoNearRandomTest("nightly.geo_near_random1");

test.insertPts(200);

test.testPt([0, 0]);
test.testPt(test.mkPt());
test.testPt(test.mkPt());
test.testPt(test.mkPt());
test.testPt(test.mkPt());