/** Test of evaluate method, of class G05ObjectiveFunction. */
 @Test
 public void testEvaluate() {
   System.out.println("evaluate");
   double[] values = CEC2006Test.loadBestKnownSolution(5);
   G05Test.normalize(values);
   G05ObjectiveFunction instance = new G05ObjectiveFunction();
   double expResult = CEC2006Test.loadBestKnownResult(5);
   double result = instance.evaluate(values);
   boolean cond = (CEC2006Test.error(expResult, result) <= CEC2006Test.epsilon);
   assertTrue(cond);
 }
 /** Test of evaluate method, of class G17ConstraintFunction_h2. */
 @Test
 public void testEvaluate() {
   System.out.println("evaluate");
   double[] values = CEC2006Test.loadBestKnownSolution(17);
   G17Test.normalize(values);
   G17ConstraintFunction_h2 instance = new G17ConstraintFunction_h2();
   double expResult = 0.0;
   double result = instance.evaluate(values);
   boolean cond = (CEC2006Test.error(expResult, result) <= CEC2006Test.epsilon);
   assertTrue(cond);
 }
 /** Test of evaluate method, of class G21ConstraintFunction_g1. */
 @Test
 public void testEvaluate() {
   System.out.println("evaluate");
   double[] values = CEC2006Test.loadBestKnownSolution(21);
   G21Test.normalize(values);
   G21ConstraintFunction_g1 instance = new G21ConstraintFunction_g1();
   double expResult = 0.0;
   double result = instance.evaluate(values);
   boolean cond = (result <= expResult);
   assertTrue(cond);
 }