Skip to content

make PSReadIC test for more IC coverage#294

Merged
bsrunnels merged 2 commits into
developmentfrom
test/PSRead
Jul 14, 2026
Merged

make PSReadIC test for more IC coverage#294
bsrunnels merged 2 commits into
developmentfrom
test/PSRead

Conversation

@mungerct

@mungerct mungerct commented Jul 11, 2026

Copy link
Copy Markdown
Member

Make a test case for the PSRead IC, total test runs in >5 seconds and adds needed coverage.

@mungerct

Copy link
Copy Markdown
Member Author

Pass all tests

@mungerct
mungerct marked this pull request as ready for review July 11, 2026 23:42
@mungerct
mungerct requested a review from bsrunnels July 11, 2026 23:42
@mungerct mungerct self-assigned this Jul 11, 2026
@mungerct mungerct added the regression-test Issue related to a regression test, not necessarily the code directly label Jul 11, 2026

@bsrunnels bsrunnels left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't IC::PSRead already used in tests/SCPSpheresElastic?

We should probably determine why the coverage report isn't reflecting the PSRead call in that test and fix that issue rather than add a new test.

(And if adding a brief test like this is the solution, I suggest we simply add it as a section to the existing SCPSpheresElastic test rather than an entire new test.)

@mungerct

Copy link
Copy Markdown
Member Author

Looking into why the converge report doesn't show PSRead, will edit the test to be included in the SCPSpheresElastic test. Currently multiple features of PSRead aren't tested such as mult, offset, and invert and I want to add coverage to them

@mungerct

Copy link
Copy Markdown
Member Author

Removed the test and added it to the SCPSpheresElastic, and we now test all of the psread functionality, including mult, invert, and x0 which were not tested before

@mungerct

Copy link
Copy Markdown
Member Author

Pass all tests

@mungerct
mungerct requested a review from bsrunnels July 13, 2026 17:30
@bsrunnels
bsrunnels merged commit 88e82a3 into development Jul 14, 2026
34 checks passed
@bsrunnels
bsrunnels deleted the test/PSRead branch July 14, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

regression-test Issue related to a regression test, not necessarily the code directly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants