Skip to content

[Testing] Modularize functions in ForceFieldTestCreation and add test of buildStiffnessMatrix#5918

Open
alxbilger wants to merge 8 commits intosofa-framework:masterfrom
alxbilger:forcefieldtestcreation
Open

[Testing] Modularize functions in ForceFieldTestCreation and add test of buildStiffnessMatrix#5918
alxbilger wants to merge 8 commits intosofa-framework:masterfrom
alxbilger:forcefieldtestcreation

Conversation

@alxbilger
Copy link
Contributor

  • Refactor ForceFieldTestCreation: modularize functions for clarity
  • Enhance ForceFieldTestCreation: add checkBuildStiffnessMatrix and refactor stiffness matrix checks

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@alxbilger alxbilger added pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request pr: test PR adding test(s) in SOFA pr: ai-generated Label notifying the reviewers that part or all of the PR has been generated with the help of an AI labels Feb 2, 2026
@alxbilger
Copy link
Contributor Author

I mark it as breaking as the change on the call of getPotentialEnergy requires this method to be exposed in all tested classes.

@alxbilger alxbilger added the pr: breaking Change possibly inducing a compilation error label Feb 2, 2026
@alxbilger alxbilger force-pushed the forcefieldtestcreation branch from c05ba8e to d69985b Compare February 3, 2026 19:32
@alxbilger alxbilger force-pushed the forcefieldtestcreation branch from d69985b to 6caa59c Compare February 6, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: ai-generated Label notifying the reviewers that part or all of the PR has been generated with the help of an AI pr: breaking Change possibly inducing a compilation error pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request pr: test PR adding test(s) in SOFA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant