Skip to content

Commit

Permalink
Add missing GlobalInitOpenSim call in test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Nov 14, 2024
1 parent b3e38c6 commit 3f311f7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <gtest/gtest.h>
#include <OpenSim/Simulation/Model/Marker.h>
#include <OpenSim/Simulation/Model/Model.h>
#include <OpenSimCreator/Platform/OpenSimCreatorApp.h>
#include <OpenSimCreator/Utils/LandmarkPair3D.h>
#include <OpenSimCreator/Utils/OpenSimHelpers.h>
#include <oscar/Utils/StringHelpers.h>
Expand Down Expand Up @@ -755,6 +756,8 @@ TEST(ModelWarperConfiguration, tryMatchStrategyDoesNotThrowIfTwoWildcardsForDiff

TEST(ModelWarperConfiguration, OnlyWarpOffsetsWithMissingLandmarksProducesMissingLandmarksValidationError)
{
GloballyInitOpenSim();

OpenSim::Object::registerType(ThinPlateSplineOnlyTranslationOffsetFrameWarpingStrategy{});

OpenSim::Model model{GetFixturePath("Document/ModelWarperV2/OnlyWarpOffsetsMissingLandmarks/model.osim").string()};
Expand Down

0 comments on commit 3f311f7

Please sign in to comment.