@Test
    public void testSphereSphereCollision() {
        BoundingSphere sphere1 = new BoundingSphere(1, Vector3f.ZERO);
        BoundingSphere sphere2 = new BoundingSphere(1, Vector3f.ZERO);
        checkCollision(sphere1, sphere2, 1);
        
        // Put it at the very edge - should still intersect.
        sphere2.setCenter(new Vector3f(2f, 0f, 0f));
        checkCollision(sphere1, sphere2, 1);
        
        // Put it a wee bit farther - no intersection expected
        sphere2.setCenter(new Vector3f(2f + FastMath.ZERO_TOLERANCE, 0, 0));
        checkCollision(sphere1, sphere2, 0);
    }
Tests collision detection between bounding volumes.

@author Kirill Vainer
jme3-core/src/test/java/com/jme3/collision/BoundingCollisionTest.java