Class AffineTransformTest


  • public class AffineTransformTest
    extends TransformTestCase
    Tests affine transforms from the org.opengis.referencing.operation package. Math transform instances are created using the factory given at construction time.
    Usage example: in order to specify their factories and run the tests in a JUnit framework, implementors can define a subclass in their own test suite as in the example below:
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    import org.opengis.test.referencing.AffineTransformTest;
    
    @RunWith(JUnit4.class)
    public class MyTest extends AffineTransformTest {
        public MyTest() {
            super(new MyMathTransformFactory());
        }
    }
    Since:
    3.1
    See Also:
    ParameterizedTransformTest, TestSuite