Skip to content

Unit tests and style changes for neutral_mixed.cxx#480

Merged
mrhardman merged 3 commits into
nonorthogonal-divops-mms-test-minimalfrom
neutral-mixed-style-and-unit-tests
Jan 29, 2026
Merged

Unit tests and style changes for neutral_mixed.cxx#480
mrhardman merged 3 commits into
nonorthogonal-divops-mms-test-minimalfrom
neutral-mixed-style-and-unit-tests

Conversation

@mrhardman
Copy link
Copy Markdown
Collaborator

@mrhardman mrhardman commented Jan 23, 2026

Attempt to bring style of neutral_mixed.cxx in line with evolve_pressure.cxx or evolve_density.cxx. Introduce a similar set of unit tests. The integration tests fail: the changes have unexpectedly broken the component.

To address #476 I have tried to change the style of neutral_mixed.cxx to enable testing in the same manner as e.g., evolve_density and evolve_pressure.

EDIT: Integrated and unit tests now passing.

…ure.cxx or evolve_density.cxx. Introduce a similar set of unit tests. The integration tests fail: the changes have unexpectedly broken the component.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.12%. Comparing base (060c6b3) to head (8d14014).

Additional details and impacted files
@@                            Coverage Diff                            @@
##           nonorthogonal-divops-mms-test-minimal     #480      +/-   ##
=========================================================================
+ Coverage                                  28.89%   34.12%   +5.22%     
=========================================================================
  Files                                         94       94              
  Lines                                       8959     8956       -3     
  Branches                                    1249     1246       -3     
=========================================================================
+ Hits                                        2589     3056     +467     
+ Misses                                      6105     5605     -500     
- Partials                                     265      295      +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mrhardman mrhardman marked this pull request as ready for review January 27, 2026 15:23
@mrhardman
Copy link
Copy Markdown
Collaborator Author

@mikekryjak @bendudson Tests are now passing since 0eab680. Could you please provide a review indicating whether or not these style changes break an untested feature? Further tests can be added if necessary.

Copy link
Copy Markdown
Collaborator

@mikekryjak mikekryjak left a comment

Choose a reason for hiding this comment

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

I ran the test from #473 locally and it passed. Happy to merge it into #285!

@mrhardman mrhardman merged commit e41bc2c into nonorthogonal-divops-mms-test-minimal Jan 29, 2026
5 checks passed
@mrhardman mrhardman deleted the neutral-mixed-style-and-unit-tests branch January 29, 2026 08:33
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.

2 participants