sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
934 stars 312 forks source link

[LinearAlgebra] Add CompressedRowSparseMatrixConstraint tests #5037

Closed fredroy closed 3 weeks ago

fredroy commented 1 month ago

Tests pulled from https://github.com/InSimo/ISSofa/blob/issofa/framework/framework_test/defaulttype/ConstraintSparseMatrix_test.cpp

Major modifications:

+ Important fix: readLine returns a endIterator if the line index is not correct (as described by the description....)


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

fredroy commented 1 month ago

[ci-build][with-all-tests]

fredroy commented 1 month ago

[ci-build][with-all-tests][force-full-build]

hugtalbot commented 1 month ago

Intense to review for me but it looks good, and CI says yes