'Make sure the "geo_within_center" operator works with a
2dsphere index.'

def test_2dsphere_geo_within_center(self):

    (event1, event2, event3) = self._create_event_data(point_field_class=PointField)
    point_and_distance = [[(-87.67892), 41.9120459], 2]
    events = self.Event.objects(location__geo_within_center=point_and_distance)
    self.assertEqual(events.count(), 2)
    events = list(events)
    self.assertTrue((event2 not in events))
    self.assertTrue((event1 in events))
    self.assertTrue((event3 in events))
