alltests.java
来自「JAVA 数学程序库 提供常规的数值计算程序包」· Java 代码 · 共 30 行
JAVA
30 行
package jmathlibtests.toolbox.symbolic;
import jmathlib.tools.junit.framework.*;
/**
* TestSuite that runs all the tests
*
*/
public class AllTests {
public static void main (String[] args) {
jmathlib.tools.junit.textui.TestRunner.run (suite());
}
public static Test suite ( ) {
TestSuite suite= new TestSuite("symbolic functions");
/* include subdirectories here */
// none
/* include tests in this directory here */
suite.addTest(jmathlibtests.toolbox.symbolic.testExpand.suite());
suite.addTest(jmathlibtests.toolbox.symbolic.testSimplify.suite());
suite.addTest(jmathlibtests.toolbox.symbolic.testFactorize.suite());
suite.addTest(jmathlibtests.toolbox.symbolic.testDerivative.suite());
suite.addTest(jmathlibtests.toolbox.symbolic.testIntegral.suite());
return suite;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?