VisiLibity v1 Source Code 1.0
|
Utilities for writing shortest path VisiLibity unit tests. More...
#include <visilibity.hpp>
Static Public Member Functions | |
static bool | validate (const VisiLibity::Environment &environment, const double epsilon, const VisiLibity::Guards &guards) |
Static Public Member Functions inherited from VisiLibity::Unit_Test | |
static void | set_output_precision () |
static void | seed_random () |
template<std::size_t N> | |
static std::vector< Point > | make_point_vector (std::array< double, N > vertices) |
Utilities for writing shortest path VisiLibity unit tests.
|
static |
Check whether an environment, epsilon, and guards make a valid scenario for testing shortest path calculation.
In order for validate to return true, environment must be valid (see Environment::is_valid), guards must contain exactly two elements and they must be in environment and not colocated.