@Test
public void testRandom() {
final RandomGenerator random = new Well1024a(0x12faa818373ffe90l);
final UnitSphereRandomVectorGenerator sr = new UnitSphereRandomVectorGenerator(2, random);
for (int i = 0; i < 500; ++i) {
double d = 25 * random.nextDouble();
double refRadius = 10 * random.nextDouble();
Vector2D refCenter = new Vector2D(d, new Vector2D(sr.nextVector()));
List<Vector2D> support = new ArrayList<Vector2D>();
for (int j = 0; j < 3; ++j) {
support.add(new Vector2D(1.0, refCenter, refRadius, new Vector2D(sr.nextVector())));