- 3.0.2 optimal control module.
SparseBoxConstraintTest.cpp File Reference
#include <ct/optcon/optcon.h>
#include <gtest/gtest.h>

Functions

 TEST (SparseBoxConstraintTest, HardcodedPatternTest)
 
int main (int argc, char **argv)
 

Variables

const size_t state_dim = 10
 
const size_t control_dim = 5
 
bool verbose = false
 

Function Documentation

◆ TEST()

TEST ( SparseBoxConstraintTest  ,
HardcodedPatternTest   
)

compare results against hard-coded references.

References control_dim, i, state_dim, and verbose.

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ state_dim

const size_t state_dim = 10

Referenced by TEST().

◆ control_dim

const size_t control_dim = 5

Referenced by TEST().

◆ verbose

bool verbose = false

Referenced by TEST().