Drake
context_test.cc File Reference
#include "drake/systems/framework/context.h"
#include <memory>
#include <stdexcept>
#include <vector>
#include "gtest/gtest.h"
#include "drake/systems/framework/basic_state_vector.h"
#include "drake/systems/framework/basic_vector.h"
#include "drake/systems/framework/system_input.h"
#include "drake/util/eigen_matrix_compare.h"
Include dependency graph for context_test.cc:

Namespaces

 drake
 
 drake::systems
 

Functions

 TEST_F (ContextTest, GetNumInputPorts)
 
 TEST_F (ContextTest, ClearInputPorts)
 
 TEST_F (ContextTest, SetOutOfBoundsInputPort)
 
 TEST_F (ContextTest, GetVectorInput)
 
 TEST_F (ContextTest, Clone)
 

Variables

constexpr int kNumInputPorts = 2
 
constexpr int kInputSize [kNumInputPorts] = {1, 2}
 
constexpr int kStateSize = 5
 
constexpr int kGeneralizedPositionSize = 2
 
constexpr int kGeneralizedVelocitySize = 2
 
constexpr int kMiscContinuousStateSize = 1
 
constexpr double kTime = 12.0