opensurgsim
Classes | Typedefs | Functions
SparseMatrixTests.cpp File Reference

Tests that exercise the functionality of our sparse matrices, which come straight from Eigen. More...

#include <gtest/gtest.h>
#include <tuple>
#include "SurgSim/Math/SparseMatrix.h"

Classes

class  TypeValue< N >
 
class  SparseMatrices< Tuple >
 

Typedefs

typedef ::testing::Types< tuple< double, TypeValue< Eigen::ColMajor >, int >, tuple< double, TypeValue< Eigen::RowMajor >, int >, tuple< double, TypeValue< Eigen::ColMajor >, ptrdiff_t >, tuple< double, TypeValue< Eigen::RowMajor >, ptrdiff_t > > MyTypes
 

Functions

 TYPED_TEST_CASE (SparseMatrices, MyTypes)
 
 TYPED_TEST (SparseMatrices, setSubMatrixWithSearchDynamicCall)
 
 TYPED_TEST (SparseMatrices, addSubMatrixWithSearchDynamicCall)
 

Detailed Description

Tests that exercise the functionality of our sparse matrices, which come straight from Eigen.

Function Documentation

§ TYPED_TEST() [1/2]

TYPED_TEST ( SparseMatrices  ,
setSubMatrixWithSearchDynamicCall   
)

< Sub too small (1D)

< Sub too small (2D)

< Sub larger (1D)

< Sub larger (2D)

< Sub too small (1D)

< Sub too small (2D)

< Sub larger (1D)

< Sub larger (2D)

§ TYPED_TEST() [2/2]

TYPED_TEST ( SparseMatrices  ,
addSubMatrixWithSearchDynamicCall   
)

< Sub too small (1D)

< Sub too small (2D)

< Sub larger (1D)

< Sub larger (2D)

< Sub too small (1D)

< Sub too small (2D)

< Sub larger (1D)

< Sub larger (2D)