[postgis-devel] Call for 1.4.2 and 1.5.1 (Handling of Invalid Geometries)
Martin Davis
mbdavis at refractions.net
Thu Feb 25 10:33:31 PST 2010
strk wrote:
> Now what we could do is allow them to flow out but not allowing them
> to get in. But this would prevent us to prepare automated testcases
> for the case the geometries are in.
>
>
This is a common situation when writing unit tests for validation code -
how do you create invalid states for the validation code to check? I
think the usual approach is to develop some "backdoor" functions to
create the states for testing purposes only.
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
More information about the postgis-devel
mailing list