LCOV - code coverage report
Current view: top level - tests/generated/ad/rss/core - RelativeConstellationTests.cpp (source / functions) Hit Total Coverage
Test: ad_rss Lines: 631 631 100.0 %
Date: 2025-07-22 06:53:46 Functions: 43 43 100.0 %
Branches: 81 336 24.1 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * ----------------- BEGIN LICENSE BLOCK ---------------------------------
       3                 :            :  *
       4                 :            :  * Copyright (C) 2018-2022 Intel Corporation
       5                 :            :  *
       6                 :            :  * SPDX-License-Identifier: LGPL-2.1-only
       7                 :            :  *
       8                 :            :  * ----------------- END LICENSE BLOCK -----------------------------------
       9                 :            :  */
      10                 :            : 
      11                 :            : /*
      12                 :            :  * Generated file
      13                 :            :  */
      14                 :            : 
      15                 :            : #if defined(__clang__) && (__clang_major__ >= 7)
      16                 :            : #pragma GCC diagnostic push
      17                 :            : #pragma GCC diagnostic ignored "-Wself-assign-overloaded"
      18                 :            : #endif
      19                 :            : 
      20                 :            : #include <gtest/gtest.h>
      21                 :            : #include <limits>
      22                 :            : #include "ad/rss/core/RelativeConstellation.hpp"
      23                 :            : 
      24                 :            : class RelativeConstellationTests : public testing::Test
      25                 :            : {
      26                 :            : protected:
      27                 :         14 :   virtual void SetUp() override
      28                 :            :   {
      29                 :            :     // valid initialization
      30                 :         14 :     ::ad::rss::core::RelativeConstellation value;
      31                 :         14 :     ::ad::rss::world::ObjectId valueEgo_id(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
      32                 :         14 :     value.ego_id = valueEgo_id;
      33                 :         14 :     ::ad::rss::world::ObjectId valueObject_id(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
      34                 :         14 :     value.object_id = valueObject_id;
      35                 :         14 :     ::ad::rss::core::RelativeConstellationId valueConstellation_id(
      36                 :            :       std::numeric_limits<::ad::rss::core::RelativeConstellationId>::lowest());
      37                 :         14 :     value.constellation_id = valueConstellation_id;
      38                 :         14 :     ::ad::rss::world::ConstellationType valueConstellation_type(::ad::rss::world::ConstellationType::NotRelevant);
      39                 :         14 :     value.constellation_type = valueConstellation_type;
      40                 :         14 :     ::ad::rss::core::RelativeObjectState valueEgo_state;
      41                 :         14 :     ::ad::rss::world::ObjectType valueEgo_stateObject_type(::ad::rss::world::ObjectType::Invalid);
      42                 :         14 :     valueEgo_state.object_type = valueEgo_stateObject_type;
      43                 :         14 :     ::ad::rss::world::RssDynamics valueEgo_stateDynamics;
      44                 :         14 :     ::ad::rss::world::LongitudinalRssAccelerationValues valueEgo_stateDynamicsAlpha_lon;
      45                 :         14 :     ::ad::physics::Acceleration valueEgo_stateDynamicsAlpha_lonAccel_max(-1e2);
      46                 :         14 :     valueEgo_stateDynamicsAlpha_lonAccel_max = ::ad::physics::Acceleration(0.); // set to valid value within struct
      47                 :         14 :     valueEgo_stateDynamicsAlpha_lon.accel_max = valueEgo_stateDynamicsAlpha_lonAccel_max;
      48                 :         14 :     ::ad::physics::Acceleration valueEgo_stateDynamicsAlpha_lonBrake_max(-1e2);
      49                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_max = valueEgo_stateDynamicsAlpha_lonBrake_max;
      50                 :         14 :     ::ad::physics::Acceleration valueEgo_stateDynamicsAlpha_lonBrake_min(-1e2);
      51                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_min = valueEgo_stateDynamicsAlpha_lonBrake_min;
      52                 :         14 :     ::ad::physics::Acceleration valueEgo_stateDynamicsAlpha_lonBrake_min_correct(-1e2);
      53                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_min_correct = valueEgo_stateDynamicsAlpha_lonBrake_min_correct;
      54                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_min = valueEgo_stateDynamicsAlpha_lon.brake_max;
      55                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_min_correct = valueEgo_stateDynamicsAlpha_lon.brake_min;
      56                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_min = valueEgo_stateDynamicsAlpha_lon.brake_min_correct;
      57                 :         14 :     valueEgo_stateDynamicsAlpha_lon.brake_max = valueEgo_stateDynamicsAlpha_lon.brake_min;
      58                 :         14 :     valueEgo_stateDynamics.alpha_lon = valueEgo_stateDynamicsAlpha_lon;
      59                 :         14 :     ::ad::rss::world::LateralRssAccelerationValues valueEgo_stateDynamicsAlpha_lat;
      60                 :         14 :     ::ad::physics::Acceleration valueEgo_stateDynamicsAlpha_latAccel_max(-1e2);
      61                 :         14 :     valueEgo_stateDynamicsAlpha_latAccel_max = ::ad::physics::Acceleration(0.); // set to valid value within struct
      62                 :         14 :     valueEgo_stateDynamicsAlpha_lat.accel_max = valueEgo_stateDynamicsAlpha_latAccel_max;
      63                 :         14 :     ::ad::physics::Acceleration valueEgo_stateDynamicsAlpha_latBrake_min(-1e2);
      64                 :         14 :     valueEgo_stateDynamicsAlpha_lat.brake_min = valueEgo_stateDynamicsAlpha_latBrake_min;
      65                 :         14 :     valueEgo_stateDynamics.alpha_lat = valueEgo_stateDynamicsAlpha_lat;
      66                 :         14 :     ::ad::physics::Distance valueEgo_stateDynamicsLateral_fluctuation_margin(-1e9);
      67                 :         14 :     valueEgo_stateDynamicsLateral_fluctuation_margin = ::ad::physics::Distance(0.); // set to valid value within struct
      68                 :         14 :     valueEgo_stateDynamics.lateral_fluctuation_margin = valueEgo_stateDynamicsLateral_fluctuation_margin;
      69                 :         14 :     ::ad::physics::Duration valueEgo_stateDynamicsResponse_time(0.);
      70                 :            :     valueEgo_stateDynamicsResponse_time
      71                 :         14 :       = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
      72                 :         14 :     valueEgo_stateDynamics.response_time = valueEgo_stateDynamicsResponse_time;
      73                 :         14 :     ::ad::physics::Speed valueEgo_stateDynamicsMax_speed_on_acceleration(-100.);
      74                 :         14 :     valueEgo_stateDynamics.max_speed_on_acceleration = valueEgo_stateDynamicsMax_speed_on_acceleration;
      75                 :         14 :     ::ad::rss::world::UnstructuredSettings valueEgo_stateDynamicsUnstructured_settings;
      76                 :         14 :     ::ad::physics::Distance valueEgo_stateDynamicsUnstructured_settingsPedestrian_turning_radius(-1e9);
      77                 :            :     valueEgo_stateDynamicsUnstructured_settings.pedestrian_turning_radius
      78                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsPedestrian_turning_radius;
      79                 :         14 :     ::ad::physics::Angle valueEgo_stateDynamicsUnstructured_settingsDrive_away_max_angle(-6.283185308);
      80                 :            :     valueEgo_stateDynamicsUnstructured_settings.drive_away_max_angle
      81                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsDrive_away_max_angle;
      82                 :         14 :     ::ad::physics::AngularAcceleration valueEgo_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(-1e2);
      83                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change
      84                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change;
      85                 :         14 :     ::ad::physics::Distance valueEgo_stateDynamicsUnstructured_settingsVehicle_min_radius(-1e9);
      86                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_min_radius
      87                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_min_radius;
      88                 :         14 :     ::ad::physics::Duration valueEgo_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(0.);
      89                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step
      90                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step;
      91                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{
      92                 :            :       std::numeric_limits<uint32_t>::min()};
      93                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps
      94                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps;
      95                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{
      96                 :            :       std::numeric_limits<uint32_t>::min()};
      97                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps
      98                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps;
      99                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{
     100                 :            :       std::numeric_limits<uint32_t>::min()};
     101                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps
     102                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps;
     103                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{
     104                 :            :       std::numeric_limits<uint32_t>::min()};
     105                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps
     106                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps;
     107                 :            :     uint32_t
     108                 :         14 :       valueEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{
     109                 :            :         std::numeric_limits<uint32_t>::min()};
     110                 :            :     valueEgo_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps
     111                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps;
     112                 :            :     uint32_t
     113                 :         14 :       valueEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{
     114                 :            :         std::numeric_limits<uint32_t>::min()};
     115                 :            :     valueEgo_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_heading_change_ratio_steps
     116                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps;
     117                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{
     118                 :            :       std::numeric_limits<uint32_t>::min()};
     119                 :            :     valueEgo_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_acceleration_steps
     120                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps;
     121                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{
     122                 :            :       std::numeric_limits<uint32_t>::min()};
     123                 :            :     valueEgo_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps
     124                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps;
     125                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{
     126                 :            :       std::numeric_limits<uint32_t>::min()};
     127                 :            :     valueEgo_stateDynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps
     128                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps;
     129                 :         14 :     uint32_t valueEgo_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{
     130                 :            :       std::numeric_limits<uint32_t>::min()};
     131                 :            :     valueEgo_stateDynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps
     132                 :         14 :       = valueEgo_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps;
     133                 :         14 :     valueEgo_stateDynamics.unstructured_settings = valueEgo_stateDynamicsUnstructured_settings;
     134                 :         14 :     ::ad::physics::Distance valueEgo_stateDynamicsMin_longitudinal_safety_distance(-1e9);
     135                 :         14 :     valueEgo_stateDynamics.min_longitudinal_safety_distance = valueEgo_stateDynamicsMin_longitudinal_safety_distance;
     136                 :         14 :     valueEgo_state.dynamics = valueEgo_stateDynamics;
     137                 :         14 :     ::ad::rss::world::ObjectState valueEgo_stateUnstructured_object_state;
     138                 :         14 :     ::ad::physics::Angle valueEgo_stateUnstructured_object_stateYaw(-6.283185308);
     139                 :         14 :     valueEgo_stateUnstructured_object_state.yaw = valueEgo_stateUnstructured_object_stateYaw;
     140                 :         14 :     ::ad::physics::Dimension2D valueEgo_stateUnstructured_object_stateDimension;
     141                 :         14 :     ::ad::physics::Distance valueEgo_stateUnstructured_object_stateDimensionLength(-1e9);
     142                 :         14 :     valueEgo_stateUnstructured_object_stateDimension.length = valueEgo_stateUnstructured_object_stateDimensionLength;
     143                 :         14 :     ::ad::physics::Distance valueEgo_stateUnstructured_object_stateDimensionWidth(-1e9);
     144                 :         14 :     valueEgo_stateUnstructured_object_stateDimension.width = valueEgo_stateUnstructured_object_stateDimensionWidth;
     145                 :         14 :     valueEgo_stateUnstructured_object_state.dimension = valueEgo_stateUnstructured_object_stateDimension;
     146                 :         14 :     ::ad::physics::AngularVelocity valueEgo_stateUnstructured_object_stateYaw_rate(-100.);
     147                 :         14 :     valueEgo_stateUnstructured_object_state.yaw_rate = valueEgo_stateUnstructured_object_stateYaw_rate;
     148                 :         14 :     ::ad::physics::Distance2D valueEgo_stateUnstructured_object_stateCenter_point;
     149                 :         14 :     ::ad::physics::Distance valueEgo_stateUnstructured_object_stateCenter_pointX(-1e9);
     150                 :         14 :     valueEgo_stateUnstructured_object_stateCenter_point.x = valueEgo_stateUnstructured_object_stateCenter_pointX;
     151                 :         14 :     ::ad::physics::Distance valueEgo_stateUnstructured_object_stateCenter_pointY(-1e9);
     152                 :         14 :     valueEgo_stateUnstructured_object_stateCenter_point.y = valueEgo_stateUnstructured_object_stateCenter_pointY;
     153                 :         14 :     valueEgo_stateUnstructured_object_state.center_point = valueEgo_stateUnstructured_object_stateCenter_point;
     154                 :         14 :     ::ad::physics::SpeedRange valueEgo_stateUnstructured_object_stateSpeed_range;
     155                 :         14 :     ::ad::physics::Speed valueEgo_stateUnstructured_object_stateSpeed_rangeMinimum(-100.);
     156                 :            :     valueEgo_stateUnstructured_object_stateSpeed_range.minimum
     157                 :         14 :       = valueEgo_stateUnstructured_object_stateSpeed_rangeMinimum;
     158                 :         14 :     ::ad::physics::Speed valueEgo_stateUnstructured_object_stateSpeed_rangeMaximum(-100.);
     159                 :            :     valueEgo_stateUnstructured_object_stateSpeed_range.maximum
     160                 :         14 :       = valueEgo_stateUnstructured_object_stateSpeed_rangeMaximum;
     161                 :            :     valueEgo_stateUnstructured_object_stateSpeed_range.maximum
     162                 :         14 :       = valueEgo_stateUnstructured_object_stateSpeed_range.minimum;
     163                 :            :     valueEgo_stateUnstructured_object_stateSpeed_range.minimum
     164                 :         14 :       = valueEgo_stateUnstructured_object_stateSpeed_range.maximum;
     165                 :         14 :     valueEgo_stateUnstructured_object_state.speed_range = valueEgo_stateUnstructured_object_stateSpeed_range;
     166                 :         14 :     ::ad::physics::Angle valueEgo_stateUnstructured_object_stateSteering_angle(-6.283185308);
     167                 :         14 :     valueEgo_stateUnstructured_object_state.steering_angle = valueEgo_stateUnstructured_object_stateSteering_angle;
     168                 :         14 :     valueEgo_state.unstructured_object_state = valueEgo_stateUnstructured_object_state;
     169                 :         14 :     ::ad::rss::core::StructuredObjectState valueEgo_stateStructured_object_state;
     170                 :         14 :     ::ad::rss::world::Velocity valueEgo_stateStructured_object_stateVelocity;
     171                 :         14 :     ::ad::physics::Speed valueEgo_stateStructured_object_stateVelocitySpeed_lon_min(-100.);
     172                 :            :     valueEgo_stateStructured_object_stateVelocitySpeed_lon_min
     173                 :         14 :       = ::ad::physics::Speed(0.); // set to valid value within struct
     174                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lon_min
     175                 :         14 :       = valueEgo_stateStructured_object_stateVelocitySpeed_lon_min;
     176                 :         14 :     ::ad::physics::Speed valueEgo_stateStructured_object_stateVelocitySpeed_lon_max(-100.);
     177                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lon_max
     178                 :         14 :       = valueEgo_stateStructured_object_stateVelocitySpeed_lon_max;
     179                 :         14 :     ::ad::physics::Speed valueEgo_stateStructured_object_stateVelocitySpeed_lat_min(-100.);
     180                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lat_min
     181                 :         14 :       = valueEgo_stateStructured_object_stateVelocitySpeed_lat_min;
     182                 :         14 :     ::ad::physics::Speed valueEgo_stateStructured_object_stateVelocitySpeed_lat_max(-100.);
     183                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lat_max
     184                 :         14 :       = valueEgo_stateStructured_object_stateVelocitySpeed_lat_max;
     185                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lon_max
     186                 :         14 :       = valueEgo_stateStructured_object_stateVelocity.speed_lon_min;
     187                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lat_max
     188                 :         14 :       = valueEgo_stateStructured_object_stateVelocity.speed_lat_min;
     189                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lon_min
     190                 :         14 :       = valueEgo_stateStructured_object_stateVelocity.speed_lon_max;
     191                 :            :     valueEgo_stateStructured_object_stateVelocity.speed_lat_min
     192                 :         14 :       = valueEgo_stateStructured_object_stateVelocity.speed_lat_max;
     193                 :         14 :     valueEgo_stateStructured_object_state.velocity = valueEgo_stateStructured_object_stateVelocity;
     194                 :         14 :     bool valueEgo_stateStructured_object_stateHas_priority{true};
     195                 :         14 :     valueEgo_stateStructured_object_state.has_priority = valueEgo_stateStructured_object_stateHas_priority;
     196                 :         14 :     bool valueEgo_stateStructured_object_stateIs_in_correct_lane{true};
     197                 :         14 :     valueEgo_stateStructured_object_state.is_in_correct_lane = valueEgo_stateStructured_object_stateIs_in_correct_lane;
     198                 :         14 :     ::ad::physics::Distance valueEgo_stateStructured_object_stateDistance_to_enter_intersection(-1e9);
     199                 :            :     valueEgo_stateStructured_object_stateDistance_to_enter_intersection
     200                 :         14 :       = ::ad::physics::Distance(0.); // set to valid value within struct
     201                 :            :     valueEgo_stateStructured_object_state.distance_to_enter_intersection
     202                 :         14 :       = valueEgo_stateStructured_object_stateDistance_to_enter_intersection;
     203                 :         14 :     ::ad::physics::Distance valueEgo_stateStructured_object_stateDistance_to_leave_intersection(-1e9);
     204                 :            :     valueEgo_stateStructured_object_state.distance_to_leave_intersection
     205                 :         14 :       = valueEgo_stateStructured_object_stateDistance_to_leave_intersection;
     206                 :            :     valueEgo_stateStructured_object_state.distance_to_leave_intersection
     207                 :         14 :       = valueEgo_stateStructured_object_state.distance_to_enter_intersection;
     208                 :            :     valueEgo_stateStructured_object_state.distance_to_enter_intersection
     209                 :         14 :       = valueEgo_stateStructured_object_state.distance_to_leave_intersection;
     210                 :         14 :     valueEgo_state.structured_object_state = valueEgo_stateStructured_object_state;
     211                 :         14 :     value.ego_state = valueEgo_state;
     212                 :         14 :     ::ad::rss::core::RelativeObjectState valueOther_state;
     213                 :         14 :     ::ad::rss::world::ObjectType valueOther_stateObject_type(::ad::rss::world::ObjectType::Invalid);
     214                 :         14 :     valueOther_state.object_type = valueOther_stateObject_type;
     215                 :         14 :     ::ad::rss::world::RssDynamics valueOther_stateDynamics;
     216                 :         14 :     ::ad::rss::world::LongitudinalRssAccelerationValues valueOther_stateDynamicsAlpha_lon;
     217                 :         14 :     ::ad::physics::Acceleration valueOther_stateDynamicsAlpha_lonAccel_max(-1e2);
     218                 :         14 :     valueOther_stateDynamicsAlpha_lonAccel_max = ::ad::physics::Acceleration(0.); // set to valid value within struct
     219                 :         14 :     valueOther_stateDynamicsAlpha_lon.accel_max = valueOther_stateDynamicsAlpha_lonAccel_max;
     220                 :         14 :     ::ad::physics::Acceleration valueOther_stateDynamicsAlpha_lonBrake_max(-1e2);
     221                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_max = valueOther_stateDynamicsAlpha_lonBrake_max;
     222                 :         14 :     ::ad::physics::Acceleration valueOther_stateDynamicsAlpha_lonBrake_min(-1e2);
     223                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_min = valueOther_stateDynamicsAlpha_lonBrake_min;
     224                 :         14 :     ::ad::physics::Acceleration valueOther_stateDynamicsAlpha_lonBrake_min_correct(-1e2);
     225                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_min_correct = valueOther_stateDynamicsAlpha_lonBrake_min_correct;
     226                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_min = valueOther_stateDynamicsAlpha_lon.brake_max;
     227                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_min_correct = valueOther_stateDynamicsAlpha_lon.brake_min;
     228                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_min = valueOther_stateDynamicsAlpha_lon.brake_min_correct;
     229                 :         14 :     valueOther_stateDynamicsAlpha_lon.brake_max = valueOther_stateDynamicsAlpha_lon.brake_min;
     230                 :         14 :     valueOther_stateDynamics.alpha_lon = valueOther_stateDynamicsAlpha_lon;
     231                 :         14 :     ::ad::rss::world::LateralRssAccelerationValues valueOther_stateDynamicsAlpha_lat;
     232                 :         14 :     ::ad::physics::Acceleration valueOther_stateDynamicsAlpha_latAccel_max(-1e2);
     233                 :         14 :     valueOther_stateDynamicsAlpha_latAccel_max = ::ad::physics::Acceleration(0.); // set to valid value within struct
     234                 :         14 :     valueOther_stateDynamicsAlpha_lat.accel_max = valueOther_stateDynamicsAlpha_latAccel_max;
     235                 :         14 :     ::ad::physics::Acceleration valueOther_stateDynamicsAlpha_latBrake_min(-1e2);
     236                 :         14 :     valueOther_stateDynamicsAlpha_lat.brake_min = valueOther_stateDynamicsAlpha_latBrake_min;
     237                 :         14 :     valueOther_stateDynamics.alpha_lat = valueOther_stateDynamicsAlpha_lat;
     238                 :         14 :     ::ad::physics::Distance valueOther_stateDynamicsLateral_fluctuation_margin(-1e9);
     239                 :         14 :     valueOther_stateDynamicsLateral_fluctuation_margin = ::ad::physics::Distance(0.); // set to valid value within
     240                 :            :                                                                                       // struct
     241                 :         14 :     valueOther_stateDynamics.lateral_fluctuation_margin = valueOther_stateDynamicsLateral_fluctuation_margin;
     242                 :         14 :     ::ad::physics::Duration valueOther_stateDynamicsResponse_time(0.);
     243                 :            :     valueOther_stateDynamicsResponse_time
     244                 :         14 :       = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
     245                 :         14 :     valueOther_stateDynamics.response_time = valueOther_stateDynamicsResponse_time;
     246                 :         14 :     ::ad::physics::Speed valueOther_stateDynamicsMax_speed_on_acceleration(-100.);
     247                 :         14 :     valueOther_stateDynamics.max_speed_on_acceleration = valueOther_stateDynamicsMax_speed_on_acceleration;
     248                 :         14 :     ::ad::rss::world::UnstructuredSettings valueOther_stateDynamicsUnstructured_settings;
     249                 :         14 :     ::ad::physics::Distance valueOther_stateDynamicsUnstructured_settingsPedestrian_turning_radius(-1e9);
     250                 :            :     valueOther_stateDynamicsUnstructured_settings.pedestrian_turning_radius
     251                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsPedestrian_turning_radius;
     252                 :         14 :     ::ad::physics::Angle valueOther_stateDynamicsUnstructured_settingsDrive_away_max_angle(-6.283185308);
     253                 :            :     valueOther_stateDynamicsUnstructured_settings.drive_away_max_angle
     254                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsDrive_away_max_angle;
     255                 :         14 :     ::ad::physics::AngularAcceleration valueOther_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(-1e2);
     256                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change
     257                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change;
     258                 :         14 :     ::ad::physics::Distance valueOther_stateDynamicsUnstructured_settingsVehicle_min_radius(-1e9);
     259                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_min_radius
     260                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_min_radius;
     261                 :         14 :     ::ad::physics::Duration valueOther_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(0.);
     262                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step
     263                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step;
     264                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{
     265                 :            :       std::numeric_limits<uint32_t>::min()};
     266                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps
     267                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps;
     268                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{
     269                 :            :       std::numeric_limits<uint32_t>::min()};
     270                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps
     271                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps;
     272                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{
     273                 :            :       std::numeric_limits<uint32_t>::min()};
     274                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps
     275                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps;
     276                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{
     277                 :            :       std::numeric_limits<uint32_t>::min()};
     278                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps
     279                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps;
     280                 :            :     uint32_t
     281                 :         14 :       valueOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{
     282                 :            :         std::numeric_limits<uint32_t>::min()};
     283                 :            :     valueOther_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps
     284                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps;
     285                 :            :     uint32_t
     286                 :         14 :       valueOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{
     287                 :            :         std::numeric_limits<uint32_t>::min()};
     288                 :            :     valueOther_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_heading_change_ratio_steps
     289                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps;
     290                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{
     291                 :            :       std::numeric_limits<uint32_t>::min()};
     292                 :            :     valueOther_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_acceleration_steps
     293                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps;
     294                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{
     295                 :            :       std::numeric_limits<uint32_t>::min()};
     296                 :            :     valueOther_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps
     297                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps;
     298                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{
     299                 :            :       std::numeric_limits<uint32_t>::min()};
     300                 :            :     valueOther_stateDynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps
     301                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps;
     302                 :         14 :     uint32_t valueOther_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{
     303                 :            :       std::numeric_limits<uint32_t>::min()};
     304                 :            :     valueOther_stateDynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps
     305                 :         14 :       = valueOther_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps;
     306                 :         14 :     valueOther_stateDynamics.unstructured_settings = valueOther_stateDynamicsUnstructured_settings;
     307                 :         14 :     ::ad::physics::Distance valueOther_stateDynamicsMin_longitudinal_safety_distance(-1e9);
     308                 :            :     valueOther_stateDynamics.min_longitudinal_safety_distance
     309                 :         14 :       = valueOther_stateDynamicsMin_longitudinal_safety_distance;
     310                 :         14 :     valueOther_state.dynamics = valueOther_stateDynamics;
     311                 :         14 :     ::ad::rss::world::ObjectState valueOther_stateUnstructured_object_state;
     312                 :         14 :     ::ad::physics::Angle valueOther_stateUnstructured_object_stateYaw(-6.283185308);
     313                 :         14 :     valueOther_stateUnstructured_object_state.yaw = valueOther_stateUnstructured_object_stateYaw;
     314                 :         14 :     ::ad::physics::Dimension2D valueOther_stateUnstructured_object_stateDimension;
     315                 :         14 :     ::ad::physics::Distance valueOther_stateUnstructured_object_stateDimensionLength(-1e9);
     316                 :            :     valueOther_stateUnstructured_object_stateDimension.length
     317                 :         14 :       = valueOther_stateUnstructured_object_stateDimensionLength;
     318                 :         14 :     ::ad::physics::Distance valueOther_stateUnstructured_object_stateDimensionWidth(-1e9);
     319                 :         14 :     valueOther_stateUnstructured_object_stateDimension.width = valueOther_stateUnstructured_object_stateDimensionWidth;
     320                 :         14 :     valueOther_stateUnstructured_object_state.dimension = valueOther_stateUnstructured_object_stateDimension;
     321                 :         14 :     ::ad::physics::AngularVelocity valueOther_stateUnstructured_object_stateYaw_rate(-100.);
     322                 :         14 :     valueOther_stateUnstructured_object_state.yaw_rate = valueOther_stateUnstructured_object_stateYaw_rate;
     323                 :         14 :     ::ad::physics::Distance2D valueOther_stateUnstructured_object_stateCenter_point;
     324                 :         14 :     ::ad::physics::Distance valueOther_stateUnstructured_object_stateCenter_pointX(-1e9);
     325                 :         14 :     valueOther_stateUnstructured_object_stateCenter_point.x = valueOther_stateUnstructured_object_stateCenter_pointX;
     326                 :         14 :     ::ad::physics::Distance valueOther_stateUnstructured_object_stateCenter_pointY(-1e9);
     327                 :         14 :     valueOther_stateUnstructured_object_stateCenter_point.y = valueOther_stateUnstructured_object_stateCenter_pointY;
     328                 :         14 :     valueOther_stateUnstructured_object_state.center_point = valueOther_stateUnstructured_object_stateCenter_point;
     329                 :         14 :     ::ad::physics::SpeedRange valueOther_stateUnstructured_object_stateSpeed_range;
     330                 :         14 :     ::ad::physics::Speed valueOther_stateUnstructured_object_stateSpeed_rangeMinimum(-100.);
     331                 :            :     valueOther_stateUnstructured_object_stateSpeed_range.minimum
     332                 :         14 :       = valueOther_stateUnstructured_object_stateSpeed_rangeMinimum;
     333                 :         14 :     ::ad::physics::Speed valueOther_stateUnstructured_object_stateSpeed_rangeMaximum(-100.);
     334                 :            :     valueOther_stateUnstructured_object_stateSpeed_range.maximum
     335                 :         14 :       = valueOther_stateUnstructured_object_stateSpeed_rangeMaximum;
     336                 :            :     valueOther_stateUnstructured_object_stateSpeed_range.maximum
     337                 :         14 :       = valueOther_stateUnstructured_object_stateSpeed_range.minimum;
     338                 :            :     valueOther_stateUnstructured_object_stateSpeed_range.minimum
     339                 :         14 :       = valueOther_stateUnstructured_object_stateSpeed_range.maximum;
     340                 :         14 :     valueOther_stateUnstructured_object_state.speed_range = valueOther_stateUnstructured_object_stateSpeed_range;
     341                 :         14 :     ::ad::physics::Angle valueOther_stateUnstructured_object_stateSteering_angle(-6.283185308);
     342                 :         14 :     valueOther_stateUnstructured_object_state.steering_angle = valueOther_stateUnstructured_object_stateSteering_angle;
     343                 :         14 :     valueOther_state.unstructured_object_state = valueOther_stateUnstructured_object_state;
     344                 :         14 :     ::ad::rss::core::StructuredObjectState valueOther_stateStructured_object_state;
     345                 :         14 :     ::ad::rss::world::Velocity valueOther_stateStructured_object_stateVelocity;
     346                 :         14 :     ::ad::physics::Speed valueOther_stateStructured_object_stateVelocitySpeed_lon_min(-100.);
     347                 :            :     valueOther_stateStructured_object_stateVelocitySpeed_lon_min
     348                 :         14 :       = ::ad::physics::Speed(0.); // set to valid value within struct
     349                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lon_min
     350                 :         14 :       = valueOther_stateStructured_object_stateVelocitySpeed_lon_min;
     351                 :         14 :     ::ad::physics::Speed valueOther_stateStructured_object_stateVelocitySpeed_lon_max(-100.);
     352                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lon_max
     353                 :         14 :       = valueOther_stateStructured_object_stateVelocitySpeed_lon_max;
     354                 :         14 :     ::ad::physics::Speed valueOther_stateStructured_object_stateVelocitySpeed_lat_min(-100.);
     355                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lat_min
     356                 :         14 :       = valueOther_stateStructured_object_stateVelocitySpeed_lat_min;
     357                 :         14 :     ::ad::physics::Speed valueOther_stateStructured_object_stateVelocitySpeed_lat_max(-100.);
     358                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lat_max
     359                 :         14 :       = valueOther_stateStructured_object_stateVelocitySpeed_lat_max;
     360                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lon_max
     361                 :         14 :       = valueOther_stateStructured_object_stateVelocity.speed_lon_min;
     362                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lat_max
     363                 :         14 :       = valueOther_stateStructured_object_stateVelocity.speed_lat_min;
     364                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lon_min
     365                 :         14 :       = valueOther_stateStructured_object_stateVelocity.speed_lon_max;
     366                 :            :     valueOther_stateStructured_object_stateVelocity.speed_lat_min
     367                 :         14 :       = valueOther_stateStructured_object_stateVelocity.speed_lat_max;
     368                 :         14 :     valueOther_stateStructured_object_state.velocity = valueOther_stateStructured_object_stateVelocity;
     369                 :         14 :     bool valueOther_stateStructured_object_stateHas_priority{true};
     370                 :         14 :     valueOther_stateStructured_object_state.has_priority = valueOther_stateStructured_object_stateHas_priority;
     371                 :         14 :     bool valueOther_stateStructured_object_stateIs_in_correct_lane{true};
     372                 :            :     valueOther_stateStructured_object_state.is_in_correct_lane
     373                 :         14 :       = valueOther_stateStructured_object_stateIs_in_correct_lane;
     374                 :         14 :     ::ad::physics::Distance valueOther_stateStructured_object_stateDistance_to_enter_intersection(-1e9);
     375                 :            :     valueOther_stateStructured_object_stateDistance_to_enter_intersection
     376                 :         14 :       = ::ad::physics::Distance(0.); // set to valid value within struct
     377                 :            :     valueOther_stateStructured_object_state.distance_to_enter_intersection
     378                 :         14 :       = valueOther_stateStructured_object_stateDistance_to_enter_intersection;
     379                 :         14 :     ::ad::physics::Distance valueOther_stateStructured_object_stateDistance_to_leave_intersection(-1e9);
     380                 :            :     valueOther_stateStructured_object_state.distance_to_leave_intersection
     381                 :         14 :       = valueOther_stateStructured_object_stateDistance_to_leave_intersection;
     382                 :            :     valueOther_stateStructured_object_state.distance_to_leave_intersection
     383                 :         14 :       = valueOther_stateStructured_object_state.distance_to_enter_intersection;
     384                 :            :     valueOther_stateStructured_object_state.distance_to_enter_intersection
     385                 :         14 :       = valueOther_stateStructured_object_state.distance_to_leave_intersection;
     386                 :         14 :     valueOther_state.structured_object_state = valueOther_stateStructured_object_state;
     387                 :         14 :     value.other_state = valueOther_state;
     388                 :         14 :     ::ad::rss::core::RelativePosition valueRelative_position;
     389                 :         14 :     ::ad::rss::core::LongitudinalRelativePosition valueRelative_positionLongitudinal_position(
     390                 :            :       ::ad::rss::core::LongitudinalRelativePosition::InFront);
     391                 :         14 :     valueRelative_position.longitudinal_position = valueRelative_positionLongitudinal_position;
     392                 :         14 :     ::ad::physics::Distance valueRelative_positionLongitudinal_distance(-1e9);
     393                 :         14 :     valueRelative_position.longitudinal_distance = valueRelative_positionLongitudinal_distance;
     394                 :         14 :     ::ad::rss::core::LateralRelativePosition valueRelative_positionLateral_position(
     395                 :            :       ::ad::rss::core::LateralRelativePosition::AtLeft);
     396                 :         14 :     valueRelative_position.lateral_position = valueRelative_positionLateral_position;
     397                 :         14 :     ::ad::physics::Distance valueRelative_positionLateral_distance(-1e9);
     398                 :         14 :     valueRelative_position.lateral_distance = valueRelative_positionLateral_distance;
     399                 :         14 :     value.relative_position = valueRelative_position;
     400                 :         14 :     ::ad::rss::world::WorldModelIndexVector valueWorld_model_indices;
     401                 :         14 :     ::ad::rss::world::WorldModelIndex valueWorld_model_indicesElement(
     402                 :            :       std::numeric_limits<::ad::rss::world::WorldModelIndex>::lowest());
     403         [ +  - ]:         14 :     valueWorld_model_indices.resize(1, valueWorld_model_indicesElement);
     404         [ +  - ]:         14 :     value.world_model_indices = valueWorld_model_indices;
     405         [ +  - ]:         14 :     mValue = value;
     406                 :         14 :   }
     407                 :            : 
     408                 :            :   ::ad::rss::core::RelativeConstellation mValue;
     409                 :            : };
     410                 :            : 
     411                 :          4 : TEST_F(RelativeConstellationTests, copyConstruction)
     412                 :            : {
     413         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation value(mValue);
     414   [ +  -  -  +  :          1 :   EXPECT_EQ(mValue, value);
          -  -  -  -  -  
                      - ]
     415                 :          1 : }
     416                 :            : 
     417                 :          4 : TEST_F(RelativeConstellationTests, moveConstruction)
     418                 :            : {
     419         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation tmpValue(mValue);
     420                 :          1 :   ::ad::rss::core::RelativeConstellation value(std::move(tmpValue));
     421   [ +  -  -  +  :          1 :   EXPECT_EQ(mValue, value);
          -  -  -  -  -  
                      - ]
     422                 :          1 : }
     423                 :            : 
     424                 :          4 : TEST_F(RelativeConstellationTests, copyAssignment)
     425                 :            : {
     426                 :          1 :   ::ad::rss::core::RelativeConstellation value;
     427         [ +  - ]:          1 :   value = mValue;
     428   [ +  -  -  +  :          1 :   EXPECT_EQ(mValue, value);
          -  -  -  -  -  
                      - ]
     429                 :          1 : }
     430                 :            : 
     431                 :          4 : TEST_F(RelativeConstellationTests, moveAssignment)
     432                 :            : {
     433         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation tmpValue(mValue);
     434                 :          1 :   ::ad::rss::core::RelativeConstellation value;
     435                 :          1 :   value = std::move(tmpValue);
     436   [ +  -  -  +  :          1 :   EXPECT_EQ(mValue, value);
          -  -  -  -  -  
                      - ]
     437                 :          1 : }
     438                 :            : 
     439                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorEqual)
     440                 :            : {
     441         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     442         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     443                 :            : 
     444   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     445   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     446                 :          1 : }
     447                 :            : 
     448                 :          4 : TEST_F(RelativeConstellationTests, stringConversionTest)
     449                 :            : {
     450         [ +  - ]:          1 :   std::stringstream stream;
     451         [ +  - ]:          1 :   stream << mValue;
     452         [ +  - ]:          1 :   std::string ostreamStr = stream.str();
     453         [ +  - ]:          1 :   std::string toStr = std::to_string(mValue);
     454   [ +  -  -  +  :          1 :   ASSERT_EQ(ostreamStr, toStr);
          -  -  -  -  -  
                -  +  - ]
     455   [ +  -  +  -  :          1 : }
                   +  - ]
     456                 :            : 
     457                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorEgo_idDiffers)
     458                 :            : {
     459         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     460                 :          1 :   ::ad::rss::world::ObjectId ego_id(std::numeric_limits<::ad::rss::world::ObjectId>::max());
     461                 :          1 :   valueA.ego_id = ego_id;
     462         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     463                 :            : 
     464   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     465   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     466                 :          1 : }
     467                 :            : 
     468                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorObject_idDiffers)
     469                 :            : {
     470         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     471                 :          1 :   ::ad::rss::world::ObjectId object_id(std::numeric_limits<::ad::rss::world::ObjectId>::max());
     472                 :          1 :   valueA.object_id = object_id;
     473         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     474                 :            : 
     475   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     476   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     477                 :          1 : }
     478                 :            : 
     479                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorConstellation_idDiffers)
     480                 :            : {
     481         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     482                 :          1 :   ::ad::rss::core::RelativeConstellationId constellation_id(
     483                 :            :     std::numeric_limits<::ad::rss::core::RelativeConstellationId>::max());
     484                 :          1 :   valueA.constellation_id = constellation_id;
     485         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     486                 :            : 
     487   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     488   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     489                 :          1 : }
     490                 :            : 
     491                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorConstellation_typeDiffers)
     492                 :            : {
     493         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     494                 :          1 :   ::ad::rss::world::ConstellationType constellation_type(::ad::rss::world::ConstellationType::Unstructured);
     495                 :          1 :   valueA.constellation_type = constellation_type;
     496         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     497                 :            : 
     498   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     499   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     500                 :          1 : }
     501                 :            : 
     502                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorEgo_stateDiffers)
     503                 :            : {
     504         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     505                 :          1 :   ::ad::rss::core::RelativeObjectState ego_state;
     506                 :          1 :   ::ad::rss::world::ObjectType ego_stateObject_type(::ad::rss::world::ObjectType::OtherObject);
     507                 :          1 :   ego_state.object_type = ego_stateObject_type;
     508                 :          1 :   ::ad::rss::world::RssDynamics ego_stateDynamics;
     509                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues ego_stateDynamicsAlpha_lon;
     510                 :          1 :   ::ad::physics::Acceleration ego_stateDynamicsAlpha_lonAccel_max(1e2);
     511                 :          1 :   ego_stateDynamicsAlpha_lon.accel_max = ego_stateDynamicsAlpha_lonAccel_max;
     512                 :          1 :   ::ad::physics::Acceleration ego_stateDynamicsAlpha_lonBrake_max(1e2);
     513                 :          1 :   ego_stateDynamicsAlpha_lon.brake_max = ego_stateDynamicsAlpha_lonBrake_max;
     514                 :          1 :   ::ad::physics::Acceleration ego_stateDynamicsAlpha_lonBrake_min(1e2);
     515                 :          1 :   ego_stateDynamicsAlpha_lon.brake_min = ego_stateDynamicsAlpha_lonBrake_min;
     516                 :          1 :   ::ad::physics::Acceleration ego_stateDynamicsAlpha_lonBrake_min_correct(1e2);
     517                 :            :   ego_stateDynamicsAlpha_lonBrake_min_correct
     518                 :          1 :     = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct
     519                 :          1 :   ego_stateDynamicsAlpha_lon.brake_min_correct = ego_stateDynamicsAlpha_lonBrake_min_correct;
     520                 :          1 :   ego_stateDynamicsAlpha_lon.brake_min_correct = ego_stateDynamicsAlpha_lon.brake_min;
     521                 :          1 :   ego_stateDynamicsAlpha_lon.brake_min = ego_stateDynamicsAlpha_lon.brake_max;
     522                 :          1 :   ego_stateDynamicsAlpha_lon.brake_max = ego_stateDynamicsAlpha_lon.brake_min;
     523                 :          1 :   ego_stateDynamicsAlpha_lon.brake_min = ego_stateDynamicsAlpha_lon.brake_min_correct;
     524                 :          1 :   ego_stateDynamics.alpha_lon = ego_stateDynamicsAlpha_lon;
     525                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues ego_stateDynamicsAlpha_lat;
     526                 :          1 :   ::ad::physics::Acceleration ego_stateDynamicsAlpha_latAccel_max(1e2);
     527                 :          1 :   ego_stateDynamicsAlpha_lat.accel_max = ego_stateDynamicsAlpha_latAccel_max;
     528                 :          1 :   ::ad::physics::Acceleration ego_stateDynamicsAlpha_latBrake_min(1e2);
     529                 :          1 :   ego_stateDynamicsAlpha_latBrake_min = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct
     530                 :          1 :   ego_stateDynamicsAlpha_lat.brake_min = ego_stateDynamicsAlpha_latBrake_min;
     531                 :          1 :   ego_stateDynamics.alpha_lat = ego_stateDynamicsAlpha_lat;
     532                 :          1 :   ::ad::physics::Distance ego_stateDynamicsLateral_fluctuation_margin(1e9);
     533                 :          1 :   ego_stateDynamicsLateral_fluctuation_margin = ::ad::physics::Distance(1.); // set to valid value within struct
     534                 :          1 :   ego_stateDynamics.lateral_fluctuation_margin = ego_stateDynamicsLateral_fluctuation_margin;
     535                 :          1 :   ::ad::physics::Duration ego_stateDynamicsResponse_time(1e6);
     536                 :          1 :   ego_stateDynamicsResponse_time = ::ad::physics::Duration(10.); // set to valid value within struct
     537                 :          1 :   ego_stateDynamics.response_time = ego_stateDynamicsResponse_time;
     538                 :          1 :   ::ad::physics::Speed ego_stateDynamicsMax_speed_on_acceleration(100.);
     539                 :          1 :   ego_stateDynamics.max_speed_on_acceleration = ego_stateDynamicsMax_speed_on_acceleration;
     540                 :          1 :   ::ad::rss::world::UnstructuredSettings ego_stateDynamicsUnstructured_settings;
     541                 :          1 :   ::ad::physics::Distance ego_stateDynamicsUnstructured_settingsPedestrian_turning_radius(1e9);
     542                 :            :   ego_stateDynamicsUnstructured_settings.pedestrian_turning_radius
     543                 :          1 :     = ego_stateDynamicsUnstructured_settingsPedestrian_turning_radius;
     544                 :          1 :   ::ad::physics::Angle ego_stateDynamicsUnstructured_settingsDrive_away_max_angle(6.283185308);
     545                 :            :   ego_stateDynamicsUnstructured_settings.drive_away_max_angle
     546                 :          1 :     = ego_stateDynamicsUnstructured_settingsDrive_away_max_angle;
     547                 :          1 :   ::ad::physics::AngularAcceleration ego_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(1e2);
     548                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change
     549                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change;
     550                 :          1 :   ::ad::physics::Distance ego_stateDynamicsUnstructured_settingsVehicle_min_radius(1e9);
     551                 :          1 :   ego_stateDynamicsUnstructured_settings.vehicle_min_radius = ego_stateDynamicsUnstructured_settingsVehicle_min_radius;
     552                 :          1 :   ::ad::physics::Duration ego_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(1e6);
     553                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step
     554                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step;
     555                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{
     556                 :            :     std::numeric_limits<uint32_t>::max()};
     557                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps
     558                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps;
     559                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{
     560                 :            :     std::numeric_limits<uint32_t>::max()};
     561                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps
     562                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps;
     563                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{
     564                 :            :     std::numeric_limits<uint32_t>::max()};
     565                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps
     566                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps;
     567                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{
     568                 :            :     std::numeric_limits<uint32_t>::max()};
     569                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps
     570                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps;
     571                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{
     572                 :            :     std::numeric_limits<uint32_t>::max()};
     573                 :            :   ego_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps
     574                 :          1 :     = ego_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps;
     575                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{
     576                 :            :     std::numeric_limits<uint32_t>::max()};
     577                 :            :   ego_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_heading_change_ratio_steps
     578                 :          1 :     = ego_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps;
     579                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{
     580                 :            :     std::numeric_limits<uint32_t>::max()};
     581                 :            :   ego_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_acceleration_steps
     582                 :          1 :     = ego_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps;
     583                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{
     584                 :            :     std::numeric_limits<uint32_t>::max()};
     585                 :            :   ego_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps
     586                 :          1 :     = ego_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps;
     587                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{
     588                 :            :     std::numeric_limits<uint32_t>::max()};
     589                 :            :   ego_stateDynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps
     590                 :          1 :     = ego_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps;
     591                 :          1 :   uint32_t ego_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{
     592                 :            :     std::numeric_limits<uint32_t>::max()};
     593                 :            :   ego_stateDynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps
     594                 :          1 :     = ego_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps;
     595                 :          1 :   ego_stateDynamics.unstructured_settings = ego_stateDynamicsUnstructured_settings;
     596                 :          1 :   ::ad::physics::Distance ego_stateDynamicsMin_longitudinal_safety_distance(1e9);
     597                 :          1 :   ego_stateDynamics.min_longitudinal_safety_distance = ego_stateDynamicsMin_longitudinal_safety_distance;
     598                 :          1 :   ego_state.dynamics = ego_stateDynamics;
     599                 :          1 :   ::ad::rss::world::ObjectState ego_stateUnstructured_object_state;
     600                 :          1 :   ::ad::physics::Angle ego_stateUnstructured_object_stateYaw(6.283185308);
     601                 :          1 :   ego_stateUnstructured_object_state.yaw = ego_stateUnstructured_object_stateYaw;
     602                 :          1 :   ::ad::physics::Dimension2D ego_stateUnstructured_object_stateDimension;
     603                 :          1 :   ::ad::physics::Distance ego_stateUnstructured_object_stateDimensionLength(1e9);
     604                 :          1 :   ego_stateUnstructured_object_stateDimension.length = ego_stateUnstructured_object_stateDimensionLength;
     605                 :          1 :   ::ad::physics::Distance ego_stateUnstructured_object_stateDimensionWidth(1e9);
     606                 :          1 :   ego_stateUnstructured_object_stateDimension.width = ego_stateUnstructured_object_stateDimensionWidth;
     607                 :          1 :   ego_stateUnstructured_object_state.dimension = ego_stateUnstructured_object_stateDimension;
     608                 :          1 :   ::ad::physics::AngularVelocity ego_stateUnstructured_object_stateYaw_rate(100.);
     609                 :          1 :   ego_stateUnstructured_object_state.yaw_rate = ego_stateUnstructured_object_stateYaw_rate;
     610                 :          1 :   ::ad::physics::Distance2D ego_stateUnstructured_object_stateCenter_point;
     611                 :          1 :   ::ad::physics::Distance ego_stateUnstructured_object_stateCenter_pointX(1e9);
     612                 :          1 :   ego_stateUnstructured_object_stateCenter_point.x = ego_stateUnstructured_object_stateCenter_pointX;
     613                 :          1 :   ::ad::physics::Distance ego_stateUnstructured_object_stateCenter_pointY(1e9);
     614                 :          1 :   ego_stateUnstructured_object_stateCenter_point.y = ego_stateUnstructured_object_stateCenter_pointY;
     615                 :          1 :   ego_stateUnstructured_object_state.center_point = ego_stateUnstructured_object_stateCenter_point;
     616                 :          1 :   ::ad::physics::SpeedRange ego_stateUnstructured_object_stateSpeed_range;
     617                 :          1 :   ::ad::physics::Speed ego_stateUnstructured_object_stateSpeed_rangeMinimum(100.);
     618                 :          1 :   ego_stateUnstructured_object_stateSpeed_range.minimum = ego_stateUnstructured_object_stateSpeed_rangeMinimum;
     619                 :          1 :   ::ad::physics::Speed ego_stateUnstructured_object_stateSpeed_rangeMaximum(100.);
     620                 :          1 :   ego_stateUnstructured_object_stateSpeed_range.maximum = ego_stateUnstructured_object_stateSpeed_rangeMaximum;
     621                 :          1 :   ego_stateUnstructured_object_stateSpeed_range.maximum = ego_stateUnstructured_object_stateSpeed_range.minimum;
     622                 :          1 :   ego_stateUnstructured_object_stateSpeed_range.minimum = ego_stateUnstructured_object_stateSpeed_range.maximum;
     623                 :          1 :   ego_stateUnstructured_object_state.speed_range = ego_stateUnstructured_object_stateSpeed_range;
     624                 :          1 :   ::ad::physics::Angle ego_stateUnstructured_object_stateSteering_angle(6.283185308);
     625                 :          1 :   ego_stateUnstructured_object_state.steering_angle = ego_stateUnstructured_object_stateSteering_angle;
     626                 :          1 :   ego_state.unstructured_object_state = ego_stateUnstructured_object_state;
     627                 :          1 :   ::ad::rss::core::StructuredObjectState ego_stateStructured_object_state;
     628                 :          1 :   ::ad::rss::world::Velocity ego_stateStructured_object_stateVelocity;
     629                 :          1 :   ::ad::physics::Speed ego_stateStructured_object_stateVelocitySpeed_lon_min(100.);
     630                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lon_min = ego_stateStructured_object_stateVelocitySpeed_lon_min;
     631                 :          1 :   ::ad::physics::Speed ego_stateStructured_object_stateVelocitySpeed_lon_max(100.);
     632                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lon_max = ego_stateStructured_object_stateVelocitySpeed_lon_max;
     633                 :          1 :   ::ad::physics::Speed ego_stateStructured_object_stateVelocitySpeed_lat_min(100.);
     634                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lat_min = ego_stateStructured_object_stateVelocitySpeed_lat_min;
     635                 :          1 :   ::ad::physics::Speed ego_stateStructured_object_stateVelocitySpeed_lat_max(100.);
     636                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lat_max = ego_stateStructured_object_stateVelocitySpeed_lat_max;
     637                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lat_max = ego_stateStructured_object_stateVelocity.speed_lat_min;
     638                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lon_max = ego_stateStructured_object_stateVelocity.speed_lon_min;
     639                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lat_min = ego_stateStructured_object_stateVelocity.speed_lat_max;
     640                 :          1 :   ego_stateStructured_object_stateVelocity.speed_lon_min = ego_stateStructured_object_stateVelocity.speed_lon_max;
     641                 :          1 :   ego_stateStructured_object_state.velocity = ego_stateStructured_object_stateVelocity;
     642                 :          1 :   bool ego_stateStructured_object_stateHas_priority{false};
     643                 :          1 :   ego_stateStructured_object_state.has_priority = ego_stateStructured_object_stateHas_priority;
     644                 :          1 :   bool ego_stateStructured_object_stateIs_in_correct_lane{false};
     645                 :          1 :   ego_stateStructured_object_state.is_in_correct_lane = ego_stateStructured_object_stateIs_in_correct_lane;
     646                 :          1 :   ::ad::physics::Distance ego_stateStructured_object_stateDistance_to_enter_intersection(1e9);
     647                 :            :   ego_stateStructured_object_state.distance_to_enter_intersection
     648                 :          1 :     = ego_stateStructured_object_stateDistance_to_enter_intersection;
     649                 :          1 :   ::ad::physics::Distance ego_stateStructured_object_stateDistance_to_leave_intersection(1e9);
     650                 :            :   ego_stateStructured_object_stateDistance_to_leave_intersection
     651                 :          1 :     = ::ad::physics::Distance(1e4); // set to valid value within struct
     652                 :            :   ego_stateStructured_object_state.distance_to_leave_intersection
     653                 :          1 :     = ego_stateStructured_object_stateDistance_to_leave_intersection;
     654                 :            :   ego_stateStructured_object_state.distance_to_leave_intersection
     655                 :          1 :     = ego_stateStructured_object_state.distance_to_enter_intersection;
     656                 :            :   ego_stateStructured_object_state.distance_to_enter_intersection
     657                 :          1 :     = ego_stateStructured_object_state.distance_to_leave_intersection;
     658                 :          1 :   ego_state.structured_object_state = ego_stateStructured_object_state;
     659                 :          1 :   valueA.ego_state = ego_state;
     660         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     661                 :            : 
     662   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     663   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     664                 :          1 : }
     665                 :            : 
     666                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorOther_stateDiffers)
     667                 :            : {
     668         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     669                 :          1 :   ::ad::rss::core::RelativeObjectState other_state;
     670                 :          1 :   ::ad::rss::world::ObjectType other_stateObject_type(::ad::rss::world::ObjectType::OtherObject);
     671                 :          1 :   other_state.object_type = other_stateObject_type;
     672                 :          1 :   ::ad::rss::world::RssDynamics other_stateDynamics;
     673                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues other_stateDynamicsAlpha_lon;
     674                 :          1 :   ::ad::physics::Acceleration other_stateDynamicsAlpha_lonAccel_max(1e2);
     675                 :          1 :   other_stateDynamicsAlpha_lon.accel_max = other_stateDynamicsAlpha_lonAccel_max;
     676                 :          1 :   ::ad::physics::Acceleration other_stateDynamicsAlpha_lonBrake_max(1e2);
     677                 :          1 :   other_stateDynamicsAlpha_lon.brake_max = other_stateDynamicsAlpha_lonBrake_max;
     678                 :          1 :   ::ad::physics::Acceleration other_stateDynamicsAlpha_lonBrake_min(1e2);
     679                 :          1 :   other_stateDynamicsAlpha_lon.brake_min = other_stateDynamicsAlpha_lonBrake_min;
     680                 :          1 :   ::ad::physics::Acceleration other_stateDynamicsAlpha_lonBrake_min_correct(1e2);
     681                 :            :   other_stateDynamicsAlpha_lonBrake_min_correct
     682                 :          1 :     = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct
     683                 :          1 :   other_stateDynamicsAlpha_lon.brake_min_correct = other_stateDynamicsAlpha_lonBrake_min_correct;
     684                 :          1 :   other_stateDynamicsAlpha_lon.brake_min_correct = other_stateDynamicsAlpha_lon.brake_min;
     685                 :          1 :   other_stateDynamicsAlpha_lon.brake_min = other_stateDynamicsAlpha_lon.brake_max;
     686                 :          1 :   other_stateDynamicsAlpha_lon.brake_max = other_stateDynamicsAlpha_lon.brake_min;
     687                 :          1 :   other_stateDynamicsAlpha_lon.brake_min = other_stateDynamicsAlpha_lon.brake_min_correct;
     688                 :          1 :   other_stateDynamics.alpha_lon = other_stateDynamicsAlpha_lon;
     689                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues other_stateDynamicsAlpha_lat;
     690                 :          1 :   ::ad::physics::Acceleration other_stateDynamicsAlpha_latAccel_max(1e2);
     691                 :          1 :   other_stateDynamicsAlpha_lat.accel_max = other_stateDynamicsAlpha_latAccel_max;
     692                 :          1 :   ::ad::physics::Acceleration other_stateDynamicsAlpha_latBrake_min(1e2);
     693                 :          1 :   other_stateDynamicsAlpha_latBrake_min = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct
     694                 :          1 :   other_stateDynamicsAlpha_lat.brake_min = other_stateDynamicsAlpha_latBrake_min;
     695                 :          1 :   other_stateDynamics.alpha_lat = other_stateDynamicsAlpha_lat;
     696                 :          1 :   ::ad::physics::Distance other_stateDynamicsLateral_fluctuation_margin(1e9);
     697                 :          1 :   other_stateDynamicsLateral_fluctuation_margin = ::ad::physics::Distance(1.); // set to valid value within struct
     698                 :          1 :   other_stateDynamics.lateral_fluctuation_margin = other_stateDynamicsLateral_fluctuation_margin;
     699                 :          1 :   ::ad::physics::Duration other_stateDynamicsResponse_time(1e6);
     700                 :          1 :   other_stateDynamicsResponse_time = ::ad::physics::Duration(10.); // set to valid value within struct
     701                 :          1 :   other_stateDynamics.response_time = other_stateDynamicsResponse_time;
     702                 :          1 :   ::ad::physics::Speed other_stateDynamicsMax_speed_on_acceleration(100.);
     703                 :          1 :   other_stateDynamics.max_speed_on_acceleration = other_stateDynamicsMax_speed_on_acceleration;
     704                 :          1 :   ::ad::rss::world::UnstructuredSettings other_stateDynamicsUnstructured_settings;
     705                 :          1 :   ::ad::physics::Distance other_stateDynamicsUnstructured_settingsPedestrian_turning_radius(1e9);
     706                 :            :   other_stateDynamicsUnstructured_settings.pedestrian_turning_radius
     707                 :          1 :     = other_stateDynamicsUnstructured_settingsPedestrian_turning_radius;
     708                 :          1 :   ::ad::physics::Angle other_stateDynamicsUnstructured_settingsDrive_away_max_angle(6.283185308);
     709                 :            :   other_stateDynamicsUnstructured_settings.drive_away_max_angle
     710                 :          1 :     = other_stateDynamicsUnstructured_settingsDrive_away_max_angle;
     711                 :          1 :   ::ad::physics::AngularAcceleration other_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(1e2);
     712                 :            :   other_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change
     713                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change;
     714                 :          1 :   ::ad::physics::Distance other_stateDynamicsUnstructured_settingsVehicle_min_radius(1e9);
     715                 :            :   other_stateDynamicsUnstructured_settings.vehicle_min_radius
     716                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_min_radius;
     717                 :          1 :   ::ad::physics::Duration other_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(1e6);
     718                 :            :   other_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step
     719                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step;
     720                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{
     721                 :            :     std::numeric_limits<uint32_t>::max()};
     722                 :            :   other_stateDynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps
     723                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps;
     724                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{
     725                 :            :     std::numeric_limits<uint32_t>::max()};
     726                 :            :   other_stateDynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps
     727                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps;
     728                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{
     729                 :            :     std::numeric_limits<uint32_t>::max()};
     730                 :            :   other_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps
     731                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps;
     732                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{
     733                 :            :     std::numeric_limits<uint32_t>::max()};
     734                 :            :   other_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps
     735                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps;
     736                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{
     737                 :            :     std::numeric_limits<uint32_t>::max()};
     738                 :            :   other_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps
     739                 :          1 :     = other_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps;
     740                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{
     741                 :            :     std::numeric_limits<uint32_t>::max()};
     742                 :            :   other_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_heading_change_ratio_steps
     743                 :          1 :     = other_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps;
     744                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{
     745                 :            :     std::numeric_limits<uint32_t>::max()};
     746                 :            :   other_stateDynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_acceleration_steps
     747                 :          1 :     = other_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps;
     748                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{
     749                 :            :     std::numeric_limits<uint32_t>::max()};
     750                 :            :   other_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps
     751                 :          1 :     = other_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps;
     752                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{
     753                 :            :     std::numeric_limits<uint32_t>::max()};
     754                 :            :   other_stateDynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps
     755                 :          1 :     = other_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps;
     756                 :          1 :   uint32_t other_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{
     757                 :            :     std::numeric_limits<uint32_t>::max()};
     758                 :            :   other_stateDynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps
     759                 :          1 :     = other_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps;
     760                 :          1 :   other_stateDynamics.unstructured_settings = other_stateDynamicsUnstructured_settings;
     761                 :          1 :   ::ad::physics::Distance other_stateDynamicsMin_longitudinal_safety_distance(1e9);
     762                 :          1 :   other_stateDynamics.min_longitudinal_safety_distance = other_stateDynamicsMin_longitudinal_safety_distance;
     763                 :          1 :   other_state.dynamics = other_stateDynamics;
     764                 :          1 :   ::ad::rss::world::ObjectState other_stateUnstructured_object_state;
     765                 :          1 :   ::ad::physics::Angle other_stateUnstructured_object_stateYaw(6.283185308);
     766                 :          1 :   other_stateUnstructured_object_state.yaw = other_stateUnstructured_object_stateYaw;
     767                 :          1 :   ::ad::physics::Dimension2D other_stateUnstructured_object_stateDimension;
     768                 :          1 :   ::ad::physics::Distance other_stateUnstructured_object_stateDimensionLength(1e9);
     769                 :          1 :   other_stateUnstructured_object_stateDimension.length = other_stateUnstructured_object_stateDimensionLength;
     770                 :          1 :   ::ad::physics::Distance other_stateUnstructured_object_stateDimensionWidth(1e9);
     771                 :          1 :   other_stateUnstructured_object_stateDimension.width = other_stateUnstructured_object_stateDimensionWidth;
     772                 :          1 :   other_stateUnstructured_object_state.dimension = other_stateUnstructured_object_stateDimension;
     773                 :          1 :   ::ad::physics::AngularVelocity other_stateUnstructured_object_stateYaw_rate(100.);
     774                 :          1 :   other_stateUnstructured_object_state.yaw_rate = other_stateUnstructured_object_stateYaw_rate;
     775                 :          1 :   ::ad::physics::Distance2D other_stateUnstructured_object_stateCenter_point;
     776                 :          1 :   ::ad::physics::Distance other_stateUnstructured_object_stateCenter_pointX(1e9);
     777                 :          1 :   other_stateUnstructured_object_stateCenter_point.x = other_stateUnstructured_object_stateCenter_pointX;
     778                 :          1 :   ::ad::physics::Distance other_stateUnstructured_object_stateCenter_pointY(1e9);
     779                 :          1 :   other_stateUnstructured_object_stateCenter_point.y = other_stateUnstructured_object_stateCenter_pointY;
     780                 :          1 :   other_stateUnstructured_object_state.center_point = other_stateUnstructured_object_stateCenter_point;
     781                 :          1 :   ::ad::physics::SpeedRange other_stateUnstructured_object_stateSpeed_range;
     782                 :          1 :   ::ad::physics::Speed other_stateUnstructured_object_stateSpeed_rangeMinimum(100.);
     783                 :          1 :   other_stateUnstructured_object_stateSpeed_range.minimum = other_stateUnstructured_object_stateSpeed_rangeMinimum;
     784                 :          1 :   ::ad::physics::Speed other_stateUnstructured_object_stateSpeed_rangeMaximum(100.);
     785                 :          1 :   other_stateUnstructured_object_stateSpeed_range.maximum = other_stateUnstructured_object_stateSpeed_rangeMaximum;
     786                 :          1 :   other_stateUnstructured_object_stateSpeed_range.maximum = other_stateUnstructured_object_stateSpeed_range.minimum;
     787                 :          1 :   other_stateUnstructured_object_stateSpeed_range.minimum = other_stateUnstructured_object_stateSpeed_range.maximum;
     788                 :          1 :   other_stateUnstructured_object_state.speed_range = other_stateUnstructured_object_stateSpeed_range;
     789                 :          1 :   ::ad::physics::Angle other_stateUnstructured_object_stateSteering_angle(6.283185308);
     790                 :          1 :   other_stateUnstructured_object_state.steering_angle = other_stateUnstructured_object_stateSteering_angle;
     791                 :          1 :   other_state.unstructured_object_state = other_stateUnstructured_object_state;
     792                 :          1 :   ::ad::rss::core::StructuredObjectState other_stateStructured_object_state;
     793                 :          1 :   ::ad::rss::world::Velocity other_stateStructured_object_stateVelocity;
     794                 :          1 :   ::ad::physics::Speed other_stateStructured_object_stateVelocitySpeed_lon_min(100.);
     795                 :          1 :   other_stateStructured_object_stateVelocity.speed_lon_min = other_stateStructured_object_stateVelocitySpeed_lon_min;
     796                 :          1 :   ::ad::physics::Speed other_stateStructured_object_stateVelocitySpeed_lon_max(100.);
     797                 :          1 :   other_stateStructured_object_stateVelocity.speed_lon_max = other_stateStructured_object_stateVelocitySpeed_lon_max;
     798                 :          1 :   ::ad::physics::Speed other_stateStructured_object_stateVelocitySpeed_lat_min(100.);
     799                 :          1 :   other_stateStructured_object_stateVelocity.speed_lat_min = other_stateStructured_object_stateVelocitySpeed_lat_min;
     800                 :          1 :   ::ad::physics::Speed other_stateStructured_object_stateVelocitySpeed_lat_max(100.);
     801                 :          1 :   other_stateStructured_object_stateVelocity.speed_lat_max = other_stateStructured_object_stateVelocitySpeed_lat_max;
     802                 :          1 :   other_stateStructured_object_stateVelocity.speed_lat_max = other_stateStructured_object_stateVelocity.speed_lat_min;
     803                 :          1 :   other_stateStructured_object_stateVelocity.speed_lon_max = other_stateStructured_object_stateVelocity.speed_lon_min;
     804                 :          1 :   other_stateStructured_object_stateVelocity.speed_lat_min = other_stateStructured_object_stateVelocity.speed_lat_max;
     805                 :          1 :   other_stateStructured_object_stateVelocity.speed_lon_min = other_stateStructured_object_stateVelocity.speed_lon_max;
     806                 :          1 :   other_stateStructured_object_state.velocity = other_stateStructured_object_stateVelocity;
     807                 :          1 :   bool other_stateStructured_object_stateHas_priority{false};
     808                 :          1 :   other_stateStructured_object_state.has_priority = other_stateStructured_object_stateHas_priority;
     809                 :          1 :   bool other_stateStructured_object_stateIs_in_correct_lane{false};
     810                 :          1 :   other_stateStructured_object_state.is_in_correct_lane = other_stateStructured_object_stateIs_in_correct_lane;
     811                 :          1 :   ::ad::physics::Distance other_stateStructured_object_stateDistance_to_enter_intersection(1e9);
     812                 :            :   other_stateStructured_object_state.distance_to_enter_intersection
     813                 :          1 :     = other_stateStructured_object_stateDistance_to_enter_intersection;
     814                 :          1 :   ::ad::physics::Distance other_stateStructured_object_stateDistance_to_leave_intersection(1e9);
     815                 :            :   other_stateStructured_object_stateDistance_to_leave_intersection
     816                 :          1 :     = ::ad::physics::Distance(1e4); // set to valid value within struct
     817                 :            :   other_stateStructured_object_state.distance_to_leave_intersection
     818                 :          1 :     = other_stateStructured_object_stateDistance_to_leave_intersection;
     819                 :            :   other_stateStructured_object_state.distance_to_leave_intersection
     820                 :          1 :     = other_stateStructured_object_state.distance_to_enter_intersection;
     821                 :            :   other_stateStructured_object_state.distance_to_enter_intersection
     822                 :          1 :     = other_stateStructured_object_state.distance_to_leave_intersection;
     823                 :          1 :   other_state.structured_object_state = other_stateStructured_object_state;
     824                 :          1 :   valueA.other_state = other_state;
     825         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     826                 :            : 
     827   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     828   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     829                 :          1 : }
     830                 :            : 
     831                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorRelative_positionDiffers)
     832                 :            : {
     833         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     834                 :          1 :   ::ad::rss::core::RelativePosition relative_position;
     835                 :          1 :   ::ad::rss::core::LongitudinalRelativePosition relative_positionLongitudinal_position(
     836                 :            :     ::ad::rss::core::LongitudinalRelativePosition::AtBack);
     837                 :          1 :   relative_position.longitudinal_position = relative_positionLongitudinal_position;
     838                 :          1 :   ::ad::physics::Distance relative_positionLongitudinal_distance(1e9);
     839                 :          1 :   relative_position.longitudinal_distance = relative_positionLongitudinal_distance;
     840                 :          1 :   ::ad::rss::core::LateralRelativePosition relative_positionLateral_position(
     841                 :            :     ::ad::rss::core::LateralRelativePosition::AtRight);
     842                 :          1 :   relative_position.lateral_position = relative_positionLateral_position;
     843                 :          1 :   ::ad::physics::Distance relative_positionLateral_distance(1e9);
     844                 :          1 :   relative_position.lateral_distance = relative_positionLateral_distance;
     845                 :          1 :   valueA.relative_position = relative_position;
     846         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     847                 :            : 
     848   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     849   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     850                 :          1 : }
     851                 :            : 
     852                 :          4 : TEST_F(RelativeConstellationTests, comparisonOperatorWorld_model_indicesDiffers)
     853                 :            : {
     854         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueA = mValue;
     855                 :          1 :   ::ad::rss::world::WorldModelIndexVector world_model_indices;
     856                 :          1 :   ::ad::rss::world::WorldModelIndex world_model_indicesElement(
     857                 :            :     std::numeric_limits<::ad::rss::world::WorldModelIndex>::max());
     858         [ +  - ]:          1 :   world_model_indices.resize(2, world_model_indicesElement);
     859         [ +  - ]:          1 :   valueA.world_model_indices = world_model_indices;
     860         [ +  - ]:          1 :   ::ad::rss::core::RelativeConstellation valueB = mValue;
     861                 :            : 
     862   [ +  -  -  +  :          1 :   EXPECT_FALSE(valueA == valueB);
          -  -  -  -  -  
                -  -  - ]
     863   [ +  -  -  +  :          1 :   EXPECT_TRUE(valueA != valueB);
          -  -  -  -  -  
                -  -  - ]
     864                 :          1 : }
     865                 :            : 
     866                 :            : #if defined(__clang__) && (__clang_major__ >= 7)
     867                 :            : #pragma GCC diagnostic pop
     868                 :            : #endif

Generated by: LCOV version 1.14