'Testing the `num_points` GeoQuerySet method.'

@no_mysql
@no_spatialite
def test24_numpoints(self):

    for c in Country.objects.num_points():
        self.assertEqual(c.mpoly.num_points, c.num_points)
    if (not oracle):
        for c in City.objects.num_points():
            self.assertEqual(1, c.num_points)
