Verifies that the software allows correct definition of a user-defined vertical datum.
Each test method in this class instantiate exactly one VerticalDatum.
Test description
Test method:
Create user-defined vertical datum for each of several different datums.
The software should accept the test data. The properties of the created objects will
be compared with the properties given to the factory method.
Usage example
in order to specify their factories and run the tests in a JUnit framework,
implementers can define a subclass in their own test suite as in the example below:
public class MyTest extends Test3209 {
public MyTest() {
super(new MyDatumFactory());
}
}
Returns the vertical datum instance to be tested. When this method is invoked for the first time, it creates the
vertical datum to test by invoking the DatumFactory.createVerticalDatum(Map, VerticalDatumType) method with the
current datumType value in argument. The created object is then cached and returned in all subsequent
invocations of this method.