scenario_simulator_v2 C++ API
|
#include <gtest/gtest.h>
#include <cmath>
#include <geometry/vector3/hypot.hpp>
#include <geometry/vector3/inner_product.hpp>
#include <geometry/vector3/internal_angle.hpp>
#include <geometry/vector3/norm.hpp>
#include <geometry/vector3/normalize.hpp>
#include <geometry/vector3/operator.hpp>
#include "../expect_eq_macros.hpp"
#include "../test_utils.hpp"
Classes | |
struct | CustomVector3< T > |
Custom Vector3 struct using T type with multiplication and division operators. More... | |
Functions | |
TEST (Vector3, hypot_msgVector) | |
TEST (Vector3, hypot_customVector) | |
TEST (Vector3, norm_msgVector) | |
TEST (Vector3, norm_customVector) | |
TEST (Vector3, normalize_msgVector) | |
TEST (Vector3, normalize_customVector) | |
TEST (Vector3, addition_msgVector) | |
TEST (Vector3, addition_customVector) | |
TEST (Vector3, subtraction_msgVector) | |
TEST (Vector3, subtraction_CustomVector) | |
TEST (Vector3, multiplication_msgVector) | |
TEST (Vector3, multiplication_CustomVector) | |
TEST (Vector3, division_msgVector) | |
TEST (Vector3, division_CustomVector) | |
TEST (Vector3, additionAssignment_msgVector) | |
TEST (Vector3, additionAssignment_customVector) | |
TEST (Vector3, normalize_zeroLength) | |
TEST (Vector3, normalize) | |
TEST (Vector3, innerProduct_getInnerProduct) | |
TEST (Vector3, innerProduct_identical) | |
TEST (Vector3, innerProduct_zero) | |
TEST (Vector3, innerAngle_getInnerAngle) | |
TEST (Vector3, innerAngle_angleIdentical) | |
TEST (Vector3, innerAngle_angleZero) | |
int | main (int argc, char **argv) |
Variables | |
constexpr double | EPS = 1e-6 |
int main | ( | int | argc, |
char ** | argv | ||
) |
TEST | ( | Vector3 | , |
addition_customVector | |||
) |
TEST | ( | Vector3 | , |
addition_msgVector | |||
) |
TEST | ( | Vector3 | , |
additionAssignment_customVector | |||
) |
TEST | ( | Vector3 | , |
additionAssignment_msgVector | |||
) |
TEST | ( | Vector3 | , |
division_CustomVector | |||
) |
TEST | ( | Vector3 | , |
division_msgVector | |||
) |
TEST | ( | Vector3 | , |
hypot_customVector | |||
) |
TEST | ( | Vector3 | , |
hypot_msgVector | |||
) |
TEST | ( | Vector3 | , |
innerAngle_angleIdentical | |||
) |
TEST | ( | Vector3 | , |
innerAngle_angleZero | |||
) |
TEST | ( | Vector3 | , |
innerAngle_getInnerAngle | |||
) |
TEST | ( | Vector3 | , |
innerProduct_getInnerProduct | |||
) |
TEST | ( | Vector3 | , |
innerProduct_identical | |||
) |
TEST | ( | Vector3 | , |
innerProduct_zero | |||
) |
TEST | ( | Vector3 | , |
multiplication_CustomVector | |||
) |
TEST | ( | Vector3 | , |
multiplication_msgVector | |||
) |
TEST | ( | Vector3 | , |
norm_customVector | |||
) |
TEST | ( | Vector3 | , |
norm_msgVector | |||
) |
TEST | ( | Vector3 | , |
normalize | |||
) |
TEST | ( | Vector3 | , |
normalize_customVector | |||
) |
TEST | ( | Vector3 | , |
normalize_msgVector | |||
) |
TEST | ( | Vector3 | , |
normalize_zeroLength | |||
) |
TEST | ( | Vector3 | , |
subtraction_CustomVector | |||
) |
TEST | ( | Vector3 | , |
subtraction_msgVector | |||
) |
|
constexpr |