Loading tests/test_deterministic_doublet.py +6 −4 Original line number Diff line number Diff line import numpy as np import xarray as xr from pythermogis import calculate_doublet_performance import xarray as xr def test_deterministic_doublet(): Loading Loading @@ -46,7 +46,8 @@ def test_deterministic_doublet_temperature_provided(): results1 = calculate_doublet_performance(reservoir_properties) results2 = calculate_doublet_performance(reservoir_properties) xr.testing.assert_equal(results1, results2) # assert that results are equal, showing no stochastic variations # assert that results are equal, showing no stochastic variations xr.testing.assert_equal(results1, results2) def test_deterministic_doublet_transmissivity_provided(): Loading @@ -62,4 +63,5 @@ def test_deterministic_doublet_transmissivity_provided(): results1 = calculate_doublet_performance(reservoir_properties) results2 = calculate_doublet_performance(reservoir_properties) xr.testing.assert_equal(results1, results2) # assert that results are equal, showing no stochastic variations No newline at end of file # assert that results are equal, showing no stochastic variations xr.testing.assert_equal(results1, results2) No newline at end of file Loading
tests/test_deterministic_doublet.py +6 −4 Original line number Diff line number Diff line import numpy as np import xarray as xr from pythermogis import calculate_doublet_performance import xarray as xr def test_deterministic_doublet(): Loading Loading @@ -46,7 +46,8 @@ def test_deterministic_doublet_temperature_provided(): results1 = calculate_doublet_performance(reservoir_properties) results2 = calculate_doublet_performance(reservoir_properties) xr.testing.assert_equal(results1, results2) # assert that results are equal, showing no stochastic variations # assert that results are equal, showing no stochastic variations xr.testing.assert_equal(results1, results2) def test_deterministic_doublet_transmissivity_provided(): Loading @@ -62,4 +63,5 @@ def test_deterministic_doublet_transmissivity_provided(): results1 = calculate_doublet_performance(reservoir_properties) results2 = calculate_doublet_performance(reservoir_properties) xr.testing.assert_equal(results1, results2) # assert that results are equal, showing no stochastic variations No newline at end of file # assert that results are equal, showing no stochastic variations xr.testing.assert_equal(results1, results2) No newline at end of file