/**************************************************************************** Copyright (c) 2003, Landmark Graphics and others. All rights reserved. This program and accompanying materials are made available under the terms of the Common Public License - v1.0, which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html ****************************************************************************/ package edu.mines.jtk.opt.test; import java.util.Random; import junit.framework.TestCase; import junit.framework.TestSuite; import edu.mines.jtk.opt.*; import edu.mines.jtk.util.Almost; /** Unit tests for edu.mines.jtk.opt.VectMap. @author W.S. Harlan */ public class VectMapTest extends TestCase { /** Run test code. */ public void testAll () { Random random = new Random(32525); VectMap vm = new VectMap(false); for (int index=0; index<5; index += 2) { double[] a = new double[7*index]; for (int i=0; i