summaryrefslogtreecommitdiff
path: root/jstests/geo_near_random1.js
blob: 50539f3ea5db096c25d6b21e11ab7a6c702c41eb (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("geo_near_random1");

test.insertPts(50);

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