System.out.println(" Start test Ang2Vect----------------");
double PI = Math.PI;
double theta = PI / 2.;
double phi = PI / 2;
PixTools pt = new PixTools();
Vector3d v = pt.Ang2Vec(theta, phi);
System.out.println("Vector x=" + v.x + " y=" + v.y + " z=" + v.z);
assertEquals("x=" + v.x, 0., v.x, 1e-10);
assertEquals("y=" + v.y, 1., v.y, 1e-10);
assertEquals("z=" + v.z, 0., v.z, 1e-10);
System.out.println(" test Ang2Vect is done");