@Test
public void testEquals() {

	double x = getRandom().nextDouble();
	double y = getRandom().nextDouble();
	double r = getRandom().nextDouble();
	AgentMotion m = new AgentMotion(x, y, r);
	AgentMotion clone = m.clone();
	AgentMotion m2 = new AgentMotion(x, y, r);
	AgentMotion m3 = new AgentMotion(x, y, r + 1);
	
	assertTrue(clone.equals(m));
	assertTrue(m.equals(clone));
	assertTrue(m2.equals(m));
	assertTrue(m.equals(m2));
	assertFalse(m3.equals(m));
	assertFalse(m.equals(m3));
}