#include <gtest/gtest.h>
#include <nav_grid_iterators/iterators.h>
#include <algorithm>
#include <vector>
Go to the source code of this file.
|
template<class iterator_type > |
int | countIterations (iterator_type it, int max_iterations=1000) |
|
int | main (int argc, char **argv) |
|
nav_2d_msgs::Point2D | make_point (double x, double y) |
|
| TEST (WholeGrid, whole_grid) |
|
| TEST (WholeGrid, whole_grid_range) |
|
| TEST (WholeGrid, std_stuff) |
|
| TEST (SubGrid, sub_grid) |
|
| TEST (SubGrid, equality) |
|
| TEST (CircleFill, circle) |
|
| TEST (CircleFill, equality) |
|
| TEST (CircleOutline, circle_outline) |
|
| TEST (CircleOutline, equality) |
|
| TEST (Spiral, spiral) |
|
| TEST (Spiral, equality) |
|
| TEST (Line, signed_line) |
|
| TEST (Line, signed_line_diff_res) |
|
| TEST (Line, random_test_case) |
|
| TEST (Line, equality) |
|
| TEST (Polygon, polygon) |
|
| TEST (Polygon, empty_polygon) |
|
| TEST (Polygon, equality) |
|
| TEST (Iterators, test_copy) |
|
| TEST (Iterators, test_assignment) |
|
template<class iterator_type >
int countIterations |
( |
iterator_type |
it, |
|
|
int |
max_iterations = 1000 |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
nav_2d_msgs::Point2D make_point |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
TEST |
( |
WholeGrid |
, |
|
|
whole_grid |
|
|
) |
| |
TEST |
( |
WholeGrid |
, |
|
|
whole_grid_range |
|
|
) |
| |
TEST |
( |
WholeGrid |
, |
|
|
std_stuff |
|
|
) |
| |
TEST |
( |
SubGrid |
, |
|
|
sub_grid |
|
|
) |
| |
TEST |
( |
SubGrid |
, |
|
|
equality |
|
|
) |
| |
TEST |
( |
CircleFill |
, |
|
|
circle |
|
|
) |
| |
TEST |
( |
CircleFill |
, |
|
|
equality |
|
|
) |
| |
TEST |
( |
CircleOutline |
, |
|
|
circle_outline |
|
|
) |
| |
TEST |
( |
CircleOutline |
, |
|
|
equality |
|
|
) |
| |
TEST |
( |
Spiral |
, |
|
|
equality |
|
|
) |
| |
TEST |
( |
Line |
, |
|
|
signed_line |
|
|
) |
| |
TEST |
( |
Line |
, |
|
|
signed_line_diff_res |
|
|
) |
| |
TEST |
( |
Line |
, |
|
|
random_test_case |
|
|
) |
| |
TEST |
( |
Polygon |
, |
|
|
polygon |
|
|
) |
| |
TEST |
( |
Polygon |
, |
|
|
empty_polygon |
|
|
) |
| |
TEST |
( |
Polygon |
, |
|
|
equality |
|
|
) |
| |
TEST |
( |
Iterators |
, |
|
|
test_copy |
|
|
) |
| |
TEST |
( |
Iterators |
, |
|
|
test_assignment |
|
|
) |
| |