Functions
utest.cpp File Reference
#include <vector>
#include <iostream>
#include <gtest/gtest.h>
Include dependency graph for utest.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
template<typename T >
void moveAndCopyImage (const int fill, const int dx, const int dy, const unsigned int ncol, vector< T > &map)
size_t offsetFromRowCol (const size_t row, const size_t col, const size_t ncol)
int offsetFromRowColNoRangeCheck (const int row, const int col, const size_t ncol)
void printMap (std::vector< int8_t > &map, const size_t ncol)
 TEST (TestSuite, testMoveAndCopyMap)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 225 of file utest.cpp.

template<typename T >
void moveAndCopyImage ( const int  fill,
const int  dx,
const int  dy,
const unsigned int  ncol,
vector< T > &  map 
)

Definition at line 41 of file utest.cpp.

size_t offsetFromRowCol ( const size_t  row,
const size_t  col,
const size_t  ncol 
) [inline]

Definition at line 10 of file utest.cpp.

int offsetFromRowColNoRangeCheck ( const int  row,
const int  col,
const size_t  ncol 
) [inline]

Definition at line 21 of file utest.cpp.

void printMap ( std::vector< int8_t > &  map,
const size_t  ncol 
)

Definition at line 91 of file utest.cpp.

TEST ( TestSuite  ,
testMoveAndCopyMap   
)

Definition at line 109 of file utest.cpp.



local_map
Author(s): Gaƫl Ecorchard
autogenerated on Thu Jun 6 2019 22:02:09