Assert.assertEquals( (Double) thirdResult[1], 11.1195, 0.0001 );
Assert.assertEquals( (Double) fourthResult[1], 15.0636, 0.0001 );
Assert.assertEquals( (Double) fifthResult[1], 22.239, 0.001 );
Assert.assertEquals( (Double) sixthResult[1], 24.446, 0.001 );
List<?> pois = em.createQuery( "from " + POI.class.getName() ).getResultList();
for ( Object entity : pois ) {
em.remove( entity );
}
em.getTransaction().commit();
em.close();