Skip to content

Cosmo dynamical de test#506

Open
mabruzzo wants to merge 4 commits into
cholla-hydro:devfrom
mabruzzo:cosmo_dynamicalDE-test
Open

Cosmo dynamical de test#506
mabruzzo wants to merge 4 commits into
cholla-hydro:devfrom
mabruzzo:cosmo_dynamicalDE-test

Conversation

@mabruzzo
Copy link
Copy Markdown
Collaborator

To be reviewed after PR #500 has been merged


This PR tries to add some basic tests related to the new TabulatedDynamicalDarkEnergyEoS type introduced in PR #500. Most of these tests focus on catching slightly invalid file formats.

I did slightly restructure the construction logic of TabulatedDynamicalDarkEnergyEoS to make it easier to test. But I was very careful to avoid breaking things. @astrodiegog, let me know if you have concerns.

Ideally, it would be great to perform an actual test to confirm that the value returned by dynamic eos table the expected answer given a table. But I haven't really dug into the logic (@astrodiegog, I'm happy to take suggestions). Right now we just check the most extreme values since that was simple

@mabruzzo mabruzzo mentioned this pull request Apr 21, 2026
@mabruzzo mabruzzo force-pushed the cosmo_dynamicalDE-test branch from db9761d to 0f4540c Compare May 12, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant