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 444 of file utest.cpp.

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

Definition at line 288 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 122 of file utest.cpp.

TEST ( CircleFill  ,
circle   
)

Definition at line 132 of file utest.cpp.

TEST ( CircleFill  ,
equality   
)

Definition at line 147 of file utest.cpp.

TEST ( CircleOutline  ,
circle_outline   
)

Definition at line 157 of file utest.cpp.

TEST ( CircleOutline  ,
equality   
)

Definition at line 175 of file utest.cpp.

TEST ( Spiral  ,
spiral   
)

Definition at line 185 of file utest.cpp.

TEST ( Spiral  ,
equality   
)

Definition at line 200 of file utest.cpp.

TEST ( Line  ,
signed_line   
)

Definition at line 210 of file utest.cpp.

TEST ( Line  ,
signed_line_diff_res   
)

Definition at line 238 of file utest.cpp.

TEST ( Line  ,
random_test_case   
)

Definition at line 268 of file utest.cpp.

TEST ( Line  ,
equality   
)

Definition at line 278 of file utest.cpp.

TEST ( Polygon  ,
polygon   
)

Definition at line 296 of file utest.cpp.

TEST ( Polygon  ,
empty_polygon   
)

Definition at line 323 of file utest.cpp.

TEST ( Polygon  ,
equality   
)

Definition at line 335 of file utest.cpp.

TEST ( Iterators  ,
test_copy   
)

Definition at line 362 of file utest.cpp.

TEST ( Iterators  ,
test_assignment   
)

Definition at line 394 of file utest.cpp.



nav_grid_iterators
Author(s):
autogenerated on Wed Jun 26 2019 20:09:45