| test.org.mandarax.lib.math.MathTestCase test.org.mandarax.lib.math.IntArithmeticTest
All known Subclasses: test.org.mandarax.lib.math.IntArithmeticTest4, test.org.mandarax.lib.math.IntArithmeticTest5, test.org.mandarax.lib.math.IntArithmeticTest1, test.org.mandarax.lib.math.IntArithmeticTest12, test.org.mandarax.lib.math.IntArithmeticTest9, test.org.mandarax.lib.math.IntArithmeticTest3, test.org.mandarax.lib.math.IntArithmeticTest11, test.org.mandarax.lib.math.IntArithmeticTest10, test.org.mandarax.lib.math.IntArithmeticTest8, test.org.mandarax.lib.math.IntArithmeticTest2, test.org.mandarax.lib.math.IntArithmeticTest6, test.org.mandarax.lib.math.IntArithmeticTest7,
IntArithmeticTest | abstract public class IntArithmeticTest extends MathTestCase (Code) | | Superclass for testing predicates and functions for integers from 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 |
Constructor Summary | |
public | IntArithmeticTest() IntArithmeticTest constructor comment. |
IntArithmeticTest | public IntArithmeticTest()(Code) | | IntArithmeticTest constructor comment.
|
getAutoFacts | protected AutoFacts getAutoFacts()(Code) | | Get the auto facts.
an auto facts clause set |
getTestSet | abstract protected int[] getTestSet()(Code) | | Get the set of numbers used for testing.
an array of doubles |
getType | protected Class getType()(Code) | | Get the type (e.g. Integer.class or Double.class) we want to test.
the type to be tested |
|
|