| org.geotools.referencing.operation.transform.MathTransformTest
MathTransformTest | final public class MathTransformTest extends TestCase (Code) | | Tests various classes of
MathTransform , including
ConcatenatedTransform .
Actually, there is many
ConcatenatedTransform , each optimized for special cases.
This test tries to test a wide range of subclasses.
version: $Id: MathTransformTest.java 25262 2007-04-23 21:11:16Z desruisseaux $ author: Martin Desruisseaux |
MathTransformTest | public MathTransformTest(String name)(Code) | | Constructs a test case with the given name.
|
main | public static void main(String args)(Code) | | Runs the tests with the textual test runner.
|
setUp | protected void setUp() throws Exception(Code) | | Set up common objects used for all tests.
|
suite | public static Test suite()(Code) | | Returns the test suite.
|
testAffineTransform | public void testAffineTransform() throws FactoryException, TransformException(Code) | | Tests the
ProjectiveTransform implementation.
|
testAffineTransformConcatenation | public void testAffineTransformConcatenation() throws FactoryException, TransformException(Code) | | Test the concatenation of linear transformations. Concatenation of linear
transformations should involve only matrix multiplication. However, this
test will also create
ConcatenatedTransform objects in order to
compare their results.
|
testDirectPositionTransform | public void testDirectPositionTransform() throws FactoryException, TransformException(Code) | | Tests a transformation on a
DirectPosition object.
|
testNaN | public void testNaN() throws FactoryException, TransformException(Code) | | Make sure that linear transformation preserve NaN values.
This is required for
org.geotools.coverage.Category .
|
testSubAffineTransform | public void testSubAffineTransform() throws FactoryException, TransformException(Code) | | Test various linear transformations. We test for many differents dimensions.
The factory class should have created specialized classes for 1D and 2D cases.
This test is used in order to ensure that specialized case produces the same
results than general cases.
|
|
|