Commit in lcsim/test/org/lcsim/fit/twopointcircle on MAIN
TwoPointCircleFitterTest.java+7-31.1 -> 1.2
Commit test case

lcsim/test/org/lcsim/fit/twopointcircle
TwoPointCircleFitterTest.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- TwoPointCircleFitterTest.java	3 Nov 2009 23:53:40 -0000	1.1
+++ TwoPointCircleFitterTest.java	4 Nov 2009 19:44:57 -0000	1.2
@@ -14,16 +14,19 @@
 public class TwoPointCircleFitterTest extends TestCase {
 
     public void testTwoPointCircleFitter() {
+
+        //  Instantiate the circle fitter and turn on it's debugging exceptions
         TwoPointCircleFitter fitter = new TwoPointCircleFitter();
         fitter.setDebug(true);
         double epsilon = 1.0e-6;
         Random r = new Random();
-        // generate a set of random circles
+
+        // Generate a set of random circles
         double xmax = 1000.;
         double ymax = 1000.;
         double dmax = 10.;
-        for(int i=0; i<1000000; ++i)
-        {
+        for(int i=0; i<1000; ++i) {
+
             //  Pick the center of the circle and the impact parameter
             double xc = (2 * r.nextDouble() - 1.) * xmax;
             double yc = (2 * r.nextDouble() - 1.) * ymax;
@@ -143,6 +146,7 @@
             }
         }
     }
+
     private double[] nextPoint( double xc, double yc, double rc, double d0)
     {
         Random rn = new Random();
CVSspam 0.2.8