org.apache.commons.math3.transform

## Class RealTransformerAbstractTest

• java.lang.Object
• org.apache.commons.math3.transform.RealTransformerAbstractTest
• Direct Known Subclasses:
FastCosineTransformerTest, FastSineTransformerTest

public abstract class RealTransformerAbstractTest
extends Object
Abstract test for classes implementing the RealTransformer interface. This abstract test handles the automatic generation of random data of various sizes. For each generated data array, actual values (returned by the transformer to be tested) are compared to expected values, returned by the transform(double[], TransformType) (to be implemented by the user: a naive method may be used). Methods are also provided to test that invalid parameters throw the expected exceptions.
Since:
3.0