Skip to content

Commit

Permalink
adapted test to changed function name in DMR
Browse files Browse the repository at this point in the history
  • Loading branch information
goujou committed Jun 11, 2021
1 parent 01c8013 commit a2049dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Test_discrete_model_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ def test_from_SmoothModelRun(self):
= smr_fine.fake_gross_discretized_output(times_fine)

dmr_from_pwc = DMR.from_SmoothModelRun(smr, nr_bins)
dmr_from_fake_net_data = DMR.reconstruct_from_fluxes_and_solution(
dmr_from_fake_net_data = DMR.from_fluxes_and_solution(
times,
xs,
net_Fs,
net_Rs
)
dmr_from_fake_gross_data_ffas \
= DMR.reconstruct_from_fluxes_and_solution(
= DMR.from_fluxes_and_solution(
times,
xs,
gross_Fs,
Expand Down
4 changes: 2 additions & 2 deletions tests/Test_model_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_net_vs_gross_for_different_time_steps(self):
= self.smr.fake_net_discretized_output(times_fine)
xs_fine, gross_Us_fine, gross_Fs_fine, gross_Rs_fine \
= self.smr.fake_gross_discretized_output(times_fine)
dmr_wrong_fine = DMRWGF.reconstruct_from_fluxes_and_solution(
dmr_wrong_fine = DMRWGF.from_fluxes_and_solution(
times_fine,
xs_fine,
# net_Us=gross_Us_fine,
Expand Down Expand Up @@ -128,7 +128,7 @@ def test_DiscreteModelRunFromFakeData(self):
xs, gross_Us, gross_Fs, gross_Rs \
= self.smr.fake_gross_discretized_output(times)

dmr = DMRWGF.reconstruct_from_fluxes_and_solution(
dmr = DMRWGF.from_fluxes_and_solution(
times,
xs,
# net_Us,
Expand Down

0 comments on commit a2049dc

Please sign in to comment.