// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionCubicModelFactory.java
// public class LikelihoodFunctionCubicModelFactory implements
// 		LikelihoodFunctionFactory {
// 
// 	@Override
// 	public LikelihoodFunction create() {
// 		return new LikelihoodFunctionCubicModel();
// 	}
// 
// }
// 
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionFactory.java
// public interface LikelihoodFunctionFactory {
// 	
// 	LikelihoodFunction create();
// 
// }


import static org.junit.Assert.*;
import java.util.Arrays;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionCubicModelFactory;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionFactory;
import org.junit.Test;
package nl.esciencecenter.diffevo;






public class CubicModelTest {

	private int nPop;
	private EvalResults evalResults;

	public CubicModelTest(){
		int nGens = 5000;
		nPop = 25;

		double[] lowerBoundsParSpace = new double[]{-20,-40,-80,-120};
		double[] upperBoundsParSpace = new double[]{ 20, 40, 80, 120};
		String[] parNames = new String[]{"a","b","c","d"};
		ParSpace parSpace = new ParSpace(lowerBoundsParSpace,upperBoundsParSpace,parNames);
		parSpace.divideIntoIntervals(new int[]{50,50,50,50});
		
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionCubicModelFactory.java
// public class LikelihoodFunctionCubicModelFactory implements
// 		LikelihoodFunctionFactory {
// 
// 	@Override
// 	public LikelihoodFunction create() {
// 		return new LikelihoodFunctionCubicModel();
// 	}
// 
// }
// 
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionFactory.java
// public interface LikelihoodFunctionFactory {
// 	
// 	LikelihoodFunction create();
// 
// }


// Path: test/src/nl/esciencecenter/diffevo/CubicModelTest.java
import static org.junit.Assert.*;
import java.util.Arrays;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionCubicModelFactory;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionFactory;
import org.junit.Test;

package nl.esciencecenter.diffevo;






public class CubicModelTest {

	private int nPop;
	private EvalResults evalResults;

	public CubicModelTest(){
		int nGens = 5000;
		nPop = 25;

		double[] lowerBoundsParSpace = new double[]{-20,-40,-80,-120};
		double[] upperBoundsParSpace = new double[]{ 20, 40, 80, 120};
		String[] parNames = new String[]{"a","b","c","d"};
		ParSpace parSpace = new ParSpace(lowerBoundsParSpace,upperBoundsParSpace,parNames);
		parSpace.divideIntoIntervals(new int[]{50,50,50,50});
		
		LikelihoodFunctionFactory likelihoodFunctionFactory = (LikelihoodFunctionFactory) new LikelihoodFunctionCubicModelFactory();