@BeforeClass
	public static void beforeClass()
	{
		
		List<Double> genes = new ArrayList<Double>();
		genes.add(1.0);
		genes.add(0.0);
		genes.add(0.0);
		genes.add(1.0);
		genes.add(1.0);
		Genotype g = new Genotype(0,1,1,genes);
		try {
			moveForwardAgent = new Agent(g,0,0,0);
		} catch (WeigthNumberNotMatchException e) {
			fail("Previous layers neuron count and the number of the weights does not match");
		}
		
		genes = new ArrayList<Double>();
		genes.add(1.0);
		genes.add(0.0);
		genes.add(0.0);
		genes.add(-1.0);	//ANN output should be about 0.324962
		genes.add(-1.0);	//ANN output should be about 0.324962
		g = new Genotype(0,1,1,genes);
		try {
			shouldntMoveAgent = new Agent(g,0,0,0);
		} catch (WeigthNumberNotMatchException e) {
			fail("Previous layers neuron count and the number of the weights does not match");
		}
		
		genes = new ArrayList<Double>();
		genes.add(1.0);
		genes.add(0.0);
		genes.add(0.0);
		genes.add(1.0);
		genes.add(-1.0);
		g = new Genotype(0,1,1,genes);
		try {
			turnLeftAgent = new Agent(g,0,0,0);
		} catch (WeigthNumberNotMatchException e) {
			fail("Previous layers neuron count and the number of the weights does not match");
		}
		
		genes = new ArrayList<Double>();
		genes.add(1.0);
		genes.add(0.0);
		genes.add(0.0);
		genes.add(-1.0);
		genes.add(1.0);
		g = new Genotype(0,1,1,genes);
		try {
			turnRightAgent = new Agent(g,0,0,0);
		} catch (WeigthNumberNotMatchException e) {
			fail("Previous layers neuron count and the number of the weights does not match");
		}

		assertEquals("Initial hunger was wrong.", 0.0, moveForwardAgent.getHunger(), 0);
		assertEquals("Initial heading was wrong.", 0.0, moveForwardAgent.getHeading(), 0);
		
		//This is here temporarily, because short-lived windows stays on my display
		Game.getInstance(); //create the game here
		try {
			Thread.sleep(800);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}