@Test
public void testGetRandomPoint() throws Exception {

    Point p;
    for (int i = 0; i < 100; i++) {
        p = rpf.getRandomPoint(testRectangle);
        assertTrue(p.getX() <= MAX);
        assertTrue(p.getY() <= MAX);
    }
}