allsupergenestests.java

来自「用java语言写的遗传算法库」· Java 代码 · 共 40 行

JAVA
40
字号
/*
 * This file is part of JGAP.
 *
 * JGAP offers a dual license model containing the LGPL as well as the MPL.
 *
 * For licencing information please see the file license.txt included with JGAP
 * or have a look at the top of class org.jgap.Chromosome which representatively
 * includes the JGAP license policy applicable for any file delivered with JGAP.
 */
package org.jgap.supergenes;

import junit.framework.*;

/** Test suite for supergene. If this is ok, the supergene algorithm is
 * ok. The last step is rather slow, so it can run up till 4 seconds
 * on 2.7 Mhz PC.
 *
 * @author Audrius Meskauskas
 * @since 2.0
 */
public class AllSupergenesTests
    extends TestCase {

  /** String containing the CVS revision. Read out via reflection!*/
  private final static String CVS_REVISION = "$Revision: 1.1 $";

  public AllSupergenesTests(String s) {
    super(s);
  }

  public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTestSuite(org.jgap.supergenes.SupergeneInternalParserTest.class);
    suite.addTestSuite(org.jgap.supergenes.
                       SupergenePersistentRepresentationTest.class);
    suite.addTestSuite(org.jgap.supergenes.SupergeneSampleApplicationTest.class);
    return suite;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?