|
mirs_esp_pio
|
入力と期待する結果を比較し、対象処理の動作を確かめる試験。試験関数から確認条件を参照できる。 [詳解]
#include <unity.h>#include <cmath>#include <cstdint>#include "OdometryCalculator.hpp"#include "VelocityCalculator.hpp"マクロ定義 | |
| #define | M_PI 3.14159265358979323846 |
関数 | |
| void | setUp (void) |
| void | tearDown (void) |
| void | test_velocity_is_computed_by_calculator (void) |
| void | test_odom_straight (void) |
| void | test_odom_spin (void) |
| void | test_odom_arc_matches_exact_solution (void) |
| void | test_odom_theta_normalized (void) |
| void | test_wrap_delta_no_wrap (void) |
| void | test_wrap_delta_across_int32 (void) |
| void | test_wrap_delta_absorbs_hw16_wrap (void) |
| void | test_velocity_int64_cumulative (void) |
| void | test_velocity_int32_wrap (void) |
| int | main (int argc, char **argv) |
入力と期待する結果を比較し、対象処理の動作を確かめる試験。試験関数から確認条件を参照できる。
test_main.cpp に定義があります。
| #define M_PI 3.14159265358979323846 |
test_main.cpp の 6 行目に定義があります。
| int main | ( | int | argc, |
| char ** | argv ) |
test_main.cpp の 121 行目に定義があります。
| void setUp | ( | void | ) |
test_main.cpp の 12 行目に定義があります。
| void tearDown | ( | void | ) |
test_main.cpp の 13 行目に定義があります。
| void test_odom_arc_matches_exact_solution | ( | void | ) |
test_main.cpp の 48 行目に定義があります。
| void test_odom_spin | ( | void | ) |
test_main.cpp の 39 行目に定義があります。
| void test_odom_straight | ( | void | ) |
test_main.cpp の 29 行目に定義があります。
| void test_odom_theta_normalized | ( | void | ) |
test_main.cpp の 65 行目に定義があります。
| void test_velocity_int32_wrap | ( | void | ) |
test_main.cpp の 111 行目に定義があります。
| void test_velocity_int64_cumulative | ( | void | ) |
test_main.cpp の 101 行目に定義があります。
| void test_velocity_is_computed_by_calculator | ( | void | ) |
test_main.cpp の 16 行目に定義があります。
| void test_wrap_delta_absorbs_hw16_wrap | ( | void | ) |
test_main.cpp の 92 行目に定義があります。
| void test_wrap_delta_across_int32 | ( | void | ) |
test_main.cpp の 84 行目に定義があります。
| void test_wrap_delta_no_wrap | ( | void | ) |
test_main.cpp の 79 行目に定義があります。