scenario_simulator_v2 C++ API
|
#include <gtest/gtest.h>
#include <geometry/solver/polynomial_solver.hpp>
#include <geometry/spline/hermite_curve.hpp>
#include <scenario_simulator_exception/exception.hpp>
Functions | |
bool | checkValueWithTolerance (double value, double expected, double tolerance=solver_tolerance) |
TEST (PolynomialSolverTest, LinearFunction) | |
TEST (PolynomialSolverTest, SolveLinearEquation) | |
TEST (PolynomialSolverTest, QuadraticFunction) | |
TEST (PolynomialSolverTest, SolveQuadraticEquation) | |
TEST (PolynomialSolverTest, CubicFunction) | |
TEST (PolynomialSolverTest, SolveSpecificCubicEquation) | |
TEST (PolynomialSolverTest, SolveSpecificCubicEquationWithMinMax) | |
TEST (PolynomialSolverTest, SolveCubicEquation) | |
int | main (int argc, char **argv) |
Variables | |
constexpr double | solver_tolerance = math::geometry::PolynomialSolver::tolerance |
bool checkValueWithTolerance | ( | double | value, |
double | expected, | ||
double | tolerance = solver_tolerance |
||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
TEST | ( | PolynomialSolverTest | , |
CubicFunction | |||
) |
TEST | ( | PolynomialSolverTest | , |
LinearFunction | |||
) |
TEST | ( | PolynomialSolverTest | , |
QuadraticFunction | |||
) |
TEST | ( | PolynomialSolverTest | , |
SolveCubicEquation | |||
) |
TEST | ( | PolynomialSolverTest | , |
SolveLinearEquation | |||
) |
TEST | ( | PolynomialSolverTest | , |
SolveQuadraticEquation | |||
) |
TEST | ( | PolynomialSolverTest | , |
SolveSpecificCubicEquation | |||
) |
TEST | ( | PolynomialSolverTest | , |
SolveSpecificCubicEquationWithMinMax | |||
) |
|
constexpr |