opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
759 stars 308 forks source link

(Slightly more than) minimally convert `testMuscleFirstOrderActivationDynamicModel.cpp` to Catch2 #3691

Closed nickbianco closed 5 months ago

nickbianco commented 5 months ago

Fixes issue #3555

Brief summary of changes

Main test conversion is self-explanatory. Also updated the headers in testModelProcessor.cpp.

Testing I've completed

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable

nickbianco commented 5 months ago

(the diff's big because things were moved into anonymous namespaces etc?)

Yes, essentially. The helper functions were also at the bottom of the cpp file, so it wasn't the standard "wrap existing test functions with Catch2 sections" type of change.