}
@Test
public void test() {
int i,j,NDIM=4,M=10; // NTRIAL=6, not used.
doubleW fnew = new doubleW(0);
double fold,stpmax=1.0,sbeps=1.e-14;
double x0[]={0.5,-0.5,1.0,1.0,1.0,0.5,-1.0,-1.0,-1.0,-0.5};
double x1[]={0.5,-0.5,1.0,1.0,0.5,1.0,-1.0,-1.0,-0.5,-1.0};
double x2[]={0.5,-0.5,1.0,0.5,1.0,1.0,-1.0,-0.5,-1.0,-1.0};
double x3[]={0.5,-0.5,0.9,1.0,1.0,1.0,-0.9,-1.0,-1.0,-1.0};