#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 195 of file GridMapMathTest.cpp.
TEST | ( | getPositionShiftFromIndexShift | , |
All | |||
) |
Definition at line 221 of file GridMapMathTest.cpp.
TEST | ( | checkIfIndexInRange | , |
All | |||
) |
Definition at line 239 of file GridMapMathTest.cpp.
TEST | ( | boundIndexToRange | , |
All | |||
) |
Definition at line 250 of file GridMapMathTest.cpp.
TEST | ( | wrapIndexToRange | , |
All | |||
) |
Definition at line 284 of file GridMapMathTest.cpp.
TEST | ( | boundPositionToRange | , |
Simple | |||
) |
Definition at line 326 of file GridMapMathTest.cpp.
TEST | ( | boundPositionToRange | , |
Position | |||
) |
Definition at line 382 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Simple | |||
) |
Definition at line 438 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Zero | |||
) |
Definition at line 473 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
ExceedingBoundaries | |||
) |
Definition at line 509 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
CircularBuffer | |||
) |
Definition at line 562 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Debug1 | |||
) |
Definition at line 632 of file GridMapMathTest.cpp.
TEST | ( | getSubmapInformation | , |
Debug2 | |||
) |
Definition at line 661 of file GridMapMathTest.cpp.
TEST | ( | getBufferRegionsForSubmap | , |
Trivial | |||
) |
Definition at line 690 of file GridMapMathTest.cpp.
TEST | ( | getBufferRegionsForSubmap | , |
Simple | |||
) |
Definition at line 712 of file GridMapMathTest.cpp.
TEST | ( | getBufferRegionsForSubmap | , |
CircularBuffer | |||
) |
Definition at line 728 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndex | , |
Simple | |||
) |
Definition at line 797 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndex | , |
CircularBuffer | |||
) |
Definition at line 833 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndexForSubmap | , |
Simple | |||
) |
Definition at line 888 of file GridMapMathTest.cpp.
TEST | ( | checkIncrementIndexForSubmap | , |
CircularBuffer | |||
) |
Definition at line 933 of file GridMapMathTest.cpp.
TEST | ( | getIndexFromLinearIndex | , |
Simple | |||
) |
Definition at line 979 of file GridMapMathTest.cpp.