#include "grid_map_core/GridMapMath.hpp"
#include <Eigen/Core>
#include <gtest/gtest.h>
#include <cfloat>
#include <vector>
Go to the source code of this file.
Functions | |
TEST (PositionFromIndex, Simple) | |
TEST (PositionFromIndex, CircularBuffer) | |
TEST (IndexFromPosition, Simple) | |
TEST (IndexFromPosition, EdgeCases) | |
TEST (IndexFromPosition, CircularBuffer) | |
TEST (checkIfPositionWithinMap, Inside) | |
TEST (checkIfPositionWithinMap, Outside) | |
TEST (checkIfPositionWithinMap, EdgeCases) | |
TEST (getIndexShiftFromPositionShift, All) | |
TEST (getPositionShiftFromIndexShift, All) | |
TEST (checkIfIndexInRange, All) | |
TEST (boundIndexToRange, All) | |
TEST (wrapIndexToRange, All) | |
TEST (boundPositionToRange, Simple) | |
TEST (boundPositionToRange, Position) | |
TEST (getSubmapInformation, Simple) | |
TEST (getSubmapInformation, Zero) | |
TEST (getSubmapInformation, ExceedingBoundaries) | |
TEST (getSubmapInformation, CircularBuffer) | |
TEST (getSubmapInformation, Debug1) | |
TEST (getSubmapInformation, Debug2) | |
TEST (getBufferRegionsForSubmap, Trivial) | |
TEST (getBufferRegionsForSubmap, Simple) | |
TEST (getBufferRegionsForSubmap, CircularBuffer) | |
TEST (checkIncrementIndex, Simple) | |
TEST (checkIncrementIndex, CircularBuffer) | |
TEST (checkIncrementIndexForSubmap, Simple) | |
TEST (checkIncrementIndexForSubmap, CircularBuffer) | |
TEST (getIndexFromLinearIndex, Simple) | |
TEST | ( | PositionFromIndex | , |
Simple | |||
) |
Definition at line 26 of file GridMapMathTest.cpp.
TEST | ( | PositionFromIndex | , |
CircularBuffer | |||
) |
Definition at line 53 of file GridMapMathTest.cpp.
TEST | ( | IndexFromPosition | , |
Simple | |||
) |
Definition at line 85 of file GridMapMathTest.cpp.
TEST | ( | IndexFromPosition | , |
EdgeCases | |||
) |
Definition at line 116 of file GridMapMathTest.cpp.
TEST | ( | IndexFromPosition | , |
CircularBuffer | |||
) |
Definition at line 139 of file GridMapMathTest.cpp.
TEST | ( | checkIfPositionWithinMap | , |
Inside | |||
) |
Definition at line 157 of file GridMapMathTest.cpp.
TEST | ( | checkIfPositionWithinMap | , |
Outside | |||
) |
Definition at line 170 of file GridMapMathTest.cpp.
TEST | ( | checkIfPositionWithinMap | , |
EdgeCases | |||
) |
Definition at line 182 of file GridMapMathTest.cpp.
TEST | ( | getIndexShiftFromPositionShift | , |
All | |||
) |
Definition at line 249 of file GridMapMathTest.cpp.
TEST | ( | getPositionShiftFromIndexShift | , |
All | |||
) |
Definition at line 275 of file GridMapMathTest.cpp.
TEST | ( | checkIfIndexInRange | , |
All | |||
) |
Definition at line 293 of file GridMapMathTest.cpp.
TEST | ( | boundIndexToRange | , |
All | |||
) |
Definition at line 304 of file GridMapMathTest.cpp.
TEST | ( | wrapIndexToRange | , |
All | |||
) |
Definition at line 338 of file GridMapMathTest.cpp.
TEST | ( | boundPositionToRange | , |
Simple | |||
) |
Definition at line 380 of file GridMapMathTest.cpp.
TEST | ( | boundPositionToRange | , |
Position | |||
) |
Definition at line 436 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Simple | |||
) |
Definition at line 492 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Zero | |||
) |
Definition at line 527 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
ExceedingBoundaries | |||
) |
Definition at line 563 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
CircularBuffer | |||
) |
Definition at line 616 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Debug1 | |||
) |
Definition at line 686 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Debug2 | |||
) |
Definition at line 715 of file GridMapMathTest.cpp.
TEST | ( | getBufferRegionsForSubmap | , |
Trivial | |||
) |
Definition at line 744 of file GridMapMathTest.cpp.
TEST | ( | getBufferRegionsForSubmap | , |
Simple | |||
) |
Definition at line 766 of file GridMapMathTest.cpp.
TEST | ( | getBufferRegionsForSubmap | , |
CircularBuffer | |||
) |
Definition at line 782 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndex | , |
Simple | |||
) |
Definition at line 851 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndex | , |
CircularBuffer | |||
) |
Definition at line 887 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndexForSubmap | , |
Simple | |||
) |
Definition at line 942 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndexForSubmap | , |
CircularBuffer | |||
) |
Definition at line 987 of file GridMapMathTest.cpp.
TEST | ( | getIndexFromLinearIndex | , |
Simple | |||
) |
Definition at line 1033 of file GridMapMathTest.cpp.