* {@link com.googlecode.jumpnevolve.math.Circle#doesCollide(com.googlecode.jumpnevolve.math.Shape)}
* .
*/
@Test
public void testDoesCollide() {
Circle circle = new Circle(0.4f, 0.99f, 29.0f);
assertThat(circle.doesCollide(circle), is(true));
assertThat(circle.doesCollide(circle.getBoundingRect()), is(true));
assertThat(
circle.doesCollide(new Rectangle(26.0f, 0.0f, 80.0f, 21.0f)),
is(true));
assertThat(circle.doesCollide(new Circle(30.0f, 30.0f, 0.1f)),
is(false));
assertThat(circle.doesCollide(new Rectangle(999.0f, 999.0f, 0.1f,
1000.0f)), is(false));
}