@Test
public void shouldPerformRandomQueries() {
long time_circle = 0;
long time_box = 0;
long singleRun = 0;
Circle c;
Box b;
long n_circle = 0;
long n_box = 0;
List<Location> result;
out( "Performing " + N_QUERIES + " queries ..." );
for (int i = 0; i < N_QUERIES; i++) {
double x = rnd(), y = rnd();
// circle search
c = new Circle( x, y, RADIUS);
// box search
b = new Box( new Point(x - HALF_BOX_WIDTH, y - HALF_BOX_WIDTH), new Point(x + HALF_BOX_WIDTH, y + HALF_BOX_WIDTH) );
// perform circle query
singleRun = System.currentTimeMillis();