[geos-devel] Using static values in Unit Tests
Mateusz Łoskot
mateusz at loskot.net
Tue Apr 4 10:55:44 EDT 2006
strk at refractions.net wrote:
> I'd go with a tolerance value, but rather then
> set it immediately I'll leave it for later, when
> we detect differences. I'd start with a tolerance of 0.
Ok, but I'm not sure I understand the idea correctly.
Do you mean to loop starting from tolerance = 0 and check if values are
equal, if not, tolerance is increased e.g. 0 + 0.001 and results are
compared again. Loop ends when results comparison = true.
Is this the idea?
Cheers
--
Mateusz Łoskot
http://mateusz.loskot.net
More information about the geos-devel
mailing list