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

Go to the source code of this file.

Functions

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)
 

Function Documentation

template<class iterator_type >
int countIterations ( iterator_type  it,
int  max_iterations = 1000 
)

Definition at line 42 of file utest.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 462 of file utest.cpp.

nav_2d_msgs::Point2D make_point ( double  x,
double  y 
)

Definition at line 306 of file utest.cpp.

TEST ( WholeGrid  ,
whole_grid   
)

Definition at line 54 of file utest.cpp.

TEST ( WholeGrid  ,
whole_grid_range   
)

Definition at line 70 of file utest.cpp.

TEST ( WholeGrid  ,
std_stuff   
)

Definition at line 85 of file utest.cpp.

TEST ( SubGrid  ,
sub_grid   
)

Definition at line 102 of file utest.cpp.

TEST ( SubGrid  ,
equality   
)

Definition at line 140 of file utest.cpp.

TEST ( CircleFill  ,
circle   
)

Definition at line 150 of file utest.cpp.

TEST ( CircleFill  ,
equality   
)

Definition at line 165 of file utest.cpp.

TEST ( CircleOutline  ,
circle_outline   
)

Definition at line 175 of file utest.cpp.

TEST ( CircleOutline  ,
equality   
)

Definition at line 193 of file utest.cpp.

TEST ( Spiral  ,
spiral   
)

Definition at line 203 of file utest.cpp.

TEST ( Spiral  ,
equality   
)

Definition at line 218 of file utest.cpp.

TEST ( Line  ,
signed_line   
)

Definition at line 228 of file utest.cpp.

TEST ( Line  ,
signed_line_diff_res   
)

Definition at line 256 of file utest.cpp.

TEST ( Line  ,
random_test_case   
)

Definition at line 286 of file utest.cpp.

TEST ( Line  ,
equality   
)

Definition at line 296 of file utest.cpp.

TEST ( Polygon  ,
polygon   
)

Definition at line 314 of file utest.cpp.

TEST ( Polygon  ,
empty_polygon   
)

Definition at line 341 of file utest.cpp.

TEST ( Polygon  ,
equality   
)

Definition at line 353 of file utest.cpp.

TEST ( Iterators  ,
test_copy   
)

Definition at line 380 of file utest.cpp.

TEST ( Iterators  ,
test_assignment   
)

Definition at line 412 of file utest.cpp.



nav_grid_iterators
Author(s):
autogenerated on Sun Jan 10 2021 04:08:42