GM Java <-> Erlang Tests
The core Java libraries are all written as transform functions over data. There is little point, therefore, in obsessing over "unit tests" and "regression testing" of Java code in Java when we have cannonical code in Erlang.
The purpose of this utility is to instead test the Java libraries agains the Erlang libraries directly.
How to run
In the current directory simply run zx runlocal and the report map will be printed to the screen and random test data will be in the temp/ directory.
To run a specific test suite run zx runlocal [module names].
To list module names, run zx runlocal list.
Where things are
The test cases are all generated in gmt.erl, generally based on randomized but valid data that are fed to reference Erlang implementations.
The input to and output from each test is recorded to disk in the temp/ dir.
The inputs are then read in by equivalent Java functions and the output is then compared.
For a test case to pass the outputs must be identical.