@Test
    public void testSphereReductionCollapsCost() {
        LodGenerator lod = new LodGenerator(sphere());
        VertexBuffer[] buffer = lod.computeLods(LodGenerator.TriangleReductionMethod.COLLAPSE_COST,
                REDUCTION_VALUES);

        int[] expected = { 240, 6, 2, 1 };
        int[] actual = getBufferSizes(buffer);
        assert buffer != null;
        assertArrayEquals(expected, actual);

    }
Tests the LodGenerator with collapse cost reduction on a sphere(see sphere()).
jme3-core/src/test/java/com/jme3/tools/LodGeneratorTest.java