This is a series of tests which copy exactly tests found in the Java code; this ensures that the Jpype implementation of Java still produces the same results as the native java implementation
of the ThermoGISDoublet class.
"""
deftest_calculateDoubletPerformanceTest(self):
"""
This is a copy of a test from the Java ThermoGisDoubletTest.java script; to validate that this python implementation of the ThermoGIS Doublet
# This tests that the python API produces (approximately) the same output as the Java code, when running on the same set of input data for the base case scenario
# Run calculation across all dimensions of input_grids, and all provided P_values
# The large differences in the output grids come from the fact that the way we calculate the Transmissivity P-values in both this python implementation and the java code is not deterministic;
# we use a sampling method which is imprecise, and without the same random number generator + seed, will not produce exactly the same values between the python and java code
# The large differences in the output grids come from the fact that the way we calculate the Transmissivity P-values in both this python implementation and the java code is not deterministic;
# we use a sampling method which is imprecise, and without the same random number generator + seed, will not produce exactly the same values between the python and java code