TNO Intern

Commit c35eb084 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

reformatting file

parent 1bc1c0bf
Loading
Loading
Loading
Loading
Loading
+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():

@@ -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():

@@ -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