private void assertEquals(NewtonianParticleInfluencer inf, NewtonianParticleInfluencer clone) {
        Assert.assertEquals(inf.getNormalVelocity(), clone.getNormalVelocity(), 0.001f);
        Assert.assertEquals(inf.getSurfaceTangentFactor(), clone.getSurfaceTangentFactor(), 0.001f);
        Assert.assertEquals(inf.getSurfaceTangentRotation(), clone.getSurfaceTangentRotation(), 0.001f);
        Assert.assertEquals(inf.getInitialVelocity(), clone.getInitialVelocity());
        Assert.assertEquals(inf.getVelocityVariation(), clone.getVelocityVariation(), 0.001f);
    }
Tests cloning, serialization and de-serialization of a {@code NewtonianParticleInfluencer}.
jme3-core/src/test/java/com/jme3/effect/influencers/ParticleInfluencerTest.java