[Thuban-devel] silke: thuban/test test_layer.py,1.30,1.31
Jan-Oliver Wagner
jan at intevation.de
Fri Aug 20 22:54:46 CEST 2004
On Fri, Aug 20, 2004 at 06:59:23PM +0200, cvs at intevation.de wrote:
> retrieving revision 1.31
> diff -u -d -r1.30 -r1.31
> --- test_layer.py 3 Jun 2004 15:18:07 -0000 1.30
> +++ test_layer.py 20 Aug 2004 16:59:21 -0000 1.31
> @@ -190,6 +190,12 @@
> self.assertFloatSeqEqual(layer.ShapesBoundingBox([0]),
> (90.0, -8.90043373, 120, 11.1616263))
>
> + self.assertFloatSeqEqual(layer.ClipBoundingBox((-180, -6, 100, +120)),
> + (90.0, -6, 100, 11.1616263))
> + shapes = layer.ShapesInRegion((-180, -170, 200, +120))
> + print "Shapes", shapes
shouldn't this print statement be removed?
> + self.assertEquals([s.ShapeID() for s in shapes],[0])
> +
> def test_empty_layer(self):
> """Test Layer with empty shape file"""
> # create an empty shape file
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)