1 #include <gtest/gtest.h>     4 #include "../../../src/core/states/sensor_data.h"     5 #include "../../../src/core/features/angle_histogram.h"    16     ASSERT_NEAR(expected_deg, 
rad2deg(actual_rad), 0.1);
    64 int main (
int argc, 
char *argv[]) {
    65   ::testing::InitGoogleTest(&argc, argv);
    66   return RUN_ALL_TESTS();
 
static double estimate_ox_based_angle(const LaserScan2D::Points::value_type &base, const LaserScan2D::Points::value_type &sp)
 
static ScanPoint2D make_cartesian(const Point2D &p, bool is_occ)
 
int main(int argc, char *argv[])
 
void verify_angle(double expected_deg, double actual_rad)
 
TEST_F(AHAngleEstimationTest, angle0)
 
constexpr double rad2deg(double angle_rad)
 
void test_angle_estimation(const Point2D &p1, const Point2D &p2, double exp)
 
constexpr double deg2rad(double angle_deg)