private Triangle makeTriangle() {

        Triangle triangle = new Triangle(v0, v1, v2);
        /*
         * Check center and normal before modification.
        */
        Vector3f center = triangle.getCenter();
        Vector3f normal = triangle.getNormal();
        assert center.equals(new Vector3f(1f, 1f, 0f));
        assert normal.equals(new Vector3f(0f, 0f, 1f));

        return triangle;
    }
Verify that a Triangle center and normal get recomputed after a change. This
was issue #957 at GitHub.

@author Stephen Gold
jme3-core/src/test/java/com/jme3/math/TestIssue957.java