Jan Jezek a écrit :
> I propose that <Whatever>Builder should throw some Exception in that case (it
> throws exception just when the matrix is 100% singular, but in our case it is
> just near singularity). I just have to find somewhere how to determine that.
If you can find someway that would be great.
As far as the test suite is concerned, an easy fix is to made java.util.Random
determinist. Instead of writting:
new Random();
most test suite should probably write something like:
new Random(5072333160296464925L);
where the number in argument is something totally random (you can use "new
Random().nextLong()" once for that :) ). By putting such argument in the
constructor, the pseudo-random numbers generated by this Random instance become
totally reproductible - every test run will produce the same sequence of
numbers. So if the test pass once, it will pass always.
Martin
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel