Utilities for writing VisiLibity unit tests.
More...
#include <visilibity.hpp>
Utilities for writing VisiLibity unit tests.
- Author
- Will Hawkins
◆ make_point_vector()
template<std::size_t N>
static std::vector< Point > VisiLibity::Unit_Test::make_point_vector |
( |
std::array< double, N > |
vertices | ) |
|
|
inlinestatic |
Make a vector of points from an array of doubles.
- Author
- Will Hawkins
- Returns
- A vector of Point objects whose size is half the size of vertices.
◆ seed_random()
void VisiLibity::Unit_Test::seed_random |
( |
| ) |
|
|
static |
Seed the OS' random number generator.
- Author
- Will Hawkins
◆ set_output_precision()
void VisiLibity::Unit_Test::set_output_precision |
( |
| ) |
|
|
static |
Set the precision that will be used when printing numbers to the screen through std::cout/cerr.
- Author
- Will Hawkins
The documentation for this class was generated from the following files: