MinieLibrary/src/test/java/jme3utilities/minie/test/TestDefaults.java
/**
     * Test the defaults that are common to all newly-created simplex shapes.
     *
     * @param simplex the shape to test (not null, unaffected)
     */
Test the defaults that are common to all newly-created simplex shapes.
@param simplex the shape to test (not null, unaffected)
Test the defaults that are common to all newly - created simplex shapes . @param simplex the shape to test ( not null unaffected )
private void testSimplexShape(SimplexCollisionShape simplex) {
        testShape(simplex);
        Assert.assertEquals(0.04f, simplex.getMargin(), 0f);
        Assert.assertFalse(simplex.isConcave());
        Assert.assertTrue(simplex.isConvex());
        Assert.assertFalse(simplex.isInfinite());
        Assert.assertFalse(simplex.isNonMoving());
        Assert.assertTrue(simplex.isPolyhedral());
    }
private void testSimplexShape ( SimplexCollisionShape simplex ) { testShape ( simplex ) ; Assert . assertEquals ( 0.04f , simplex . getMargin ( ) , 0f ) ; Assert . assertFalse ( simplex . isConcave ( ) ) ; Assert . assertTrue ( simplex . isConvex ( ) ) ; Assert . assertFalse ( simplex . isInfinite ( ) ) ; Assert . assertFalse ( simplex . isNonMoving ( ) ) ; Assert . assertTrue ( simplex . isPolyhedral ( ) ) ; }
Test the defaults that are common to all newly-created simplex shapes.
Test the defaults that are common to all newly - created simplex shapes .