opensurgsim
Classes | Namespaces | Functions
PushResultsTests.cpp File Reference

Simple Test for PushResults calculation. More...

#include <gtest/gtest.h>
#include <string>
#include <memory>
#include "SurgSim/Physics/UnitTests/CommonTests.h"
#include "SurgSim/Physics/BuildMlcp.h"
#include "SurgSim/Physics/PushResults.h"

Classes

class  SurgSim::Physics::PushResultsTests
 

Namespaces

 SurgSim
 Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions.
 

Functions

void SurgSim::Physics::updateRepresentationsMapping (std::shared_ptr< PhysicsManagerState > state)
 
 SurgSim::Physics::TEST_F (PushResultsTests, NoRepresentationNoConstraint)
 
 SurgSim::Physics::TEST_F (PushResultsTests, OneRepresentationNoConstraintTest)
 
 SurgSim::Physics::TEST_F (PushResultsTests, TwoRepresentationsNoConstraintTest)
 
 SurgSim::Physics::TEST_F (PushResultsTests, OneRepresentationOneConstraintTest)
 
 SurgSim::Physics::TEST_F (PushResultsTests, DiscardBadResultsTest)
 
 SurgSim::Physics::TEST_F (PushResultsTests, OneRepresentationTwoConstraintsTest)
 
 SurgSim::Physics::TEST_F (PushResultsTests, TwoRepresentationsTwoConstraintsTest)
 

Detailed Description

Simple Test for PushResults calculation.