| test.org.mandarax.lib.math.MathTestCase test.org.mandarax.lib.math.DoubleArithmeticTest
All known Subclasses: test.org.mandarax.lib.math.DoubleArithmeticTest1, test.org.mandarax.lib.math.DoubleArithmeticTest2, test.org.mandarax.lib.math.DoubleArithmeticTest9, test.org.mandarax.lib.math.DoubleArithmeticTest7, test.org.mandarax.lib.math.DoubleArithmeticTest4, test.org.mandarax.lib.math.DoubleArithmeticTest10, test.org.mandarax.lib.math.DoubleArithmeticTest12, test.org.mandarax.lib.math.DoubleArithmeticTest8, test.org.mandarax.lib.math.DoubleArithmeticTest11, test.org.mandarax.lib.math.DoubleArithmeticTest5, test.org.mandarax.lib.math.DoubleArithmeticTest13, test.org.mandarax.lib.math.DoubleArithmeticTest3, test.org.mandarax.lib.math.DoubleArithmeticTest6,
DoubleArithmeticTest | abstract public class DoubleArithmeticTest extends MathTestCase (Code) | | Superclass for testing predicates and functions for double numbers defined in the math package.
All tests work as follows: we build an auto fact set, fetch an iterator and
count the facts generated. The number of facts is compared with the expected number of facts.
Facts are printed out on System.out.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.6 |
DoubleArithmeticTest | public DoubleArithmeticTest()(Code) | | IntArithmeticTest constructor comment.
|
getAutoFacts | protected AutoFacts getAutoFacts()(Code) | | Get the auto facts.
an auto facts clause set |
getTestSet | abstract protected double[] getTestSet()(Code) | | Get the set of numbers used for testing.
an array of integers |
getType | protected Class getType()(Code) | | Get the type (e.g. Integer.class or Double.class) we want to test.
the type to be tested |
|
|