LCOV - code coverage report
Current view: top level - tests/generated/ad/rss/situation - SituationVectorValidInputRangeTests.cpp (source / functions) Hit Total Coverage
Test: ad_rss Lines: 722 722 100.0 %
Date: 2024-04-23 14:35:54 Functions: 12 12 100.0 %
Branches: 17 82 20.7 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * ----------------- BEGIN LICENSE BLOCK ---------------------------------
       3                 :            :  *
       4                 :            :  * Copyright (C) 2018-2021 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                 :            : #include <gtest/gtest.h>
      16                 :            : 
      17                 :            : #include <limits>
      18                 :            : 
      19                 :            : #include "ad/rss/situation/SituationVectorValidInputRange.hpp"
      20                 :            : 
      21                 :          2 : TEST(SituationVectorValidInputRangeTests, testValidInputRangeValidInputRangeMin)
      22                 :            : {
      23                 :          1 :   ::ad::rss::situation::SituationVector value;
      24   [ +  -  -  +  :          1 :   ASSERT_TRUE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
      25                 :            : }
      26                 :            : 
      27                 :          2 : TEST(SituationVectorValidInputRangeTests, testValidInputRangeValidInputRangeMax)
      28                 :            : {
      29                 :          1 :   ::ad::rss::situation::SituationVector value;
      30                 :          1 :   ::ad::rss::situation::Situation element;
      31                 :          1 :   ::ad::rss::situation::SituationId elementSituationId(
      32                 :            :     std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
      33                 :          1 :   element.situationId = elementSituationId;
      34                 :          1 :   ::ad::rss::world::ObjectId elementObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
      35                 :          1 :   element.objectId = elementObjectId;
      36                 :          1 :   ::ad::rss::situation::SituationType elementSituationType(::ad::rss::situation::SituationType::NotRelevant);
      37                 :          1 :   element.situationType = elementSituationType;
      38                 :          1 :   ::ad::rss::situation::VehicleState elementEgoVehicleState;
      39                 :          1 :   ::ad::rss::situation::VelocityRange elementEgoVehicleStateVelocity;
      40                 :          1 :   ::ad::physics::SpeedRange elementEgoVehicleStateVelocitySpeedLon;
      41                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLonMinimum(-100.);
      42                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.minimum = elementEgoVehicleStateVelocitySpeedLonMinimum;
      43                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLonMaximum(-100.);
      44                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.maximum = elementEgoVehicleStateVelocitySpeedLonMaximum;
      45                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.maximum = elementEgoVehicleStateVelocitySpeedLon.minimum;
      46                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.minimum = elementEgoVehicleStateVelocitySpeedLon.maximum;
      47                 :          1 :   elementEgoVehicleStateVelocity.speedLon = elementEgoVehicleStateVelocitySpeedLon;
      48                 :          1 :   ::ad::physics::SpeedRange elementEgoVehicleStateVelocitySpeedLat;
      49                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLatMinimum(-100.);
      50                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.minimum = elementEgoVehicleStateVelocitySpeedLatMinimum;
      51                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLatMaximum(-100.);
      52                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.maximum = elementEgoVehicleStateVelocitySpeedLatMaximum;
      53                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.maximum = elementEgoVehicleStateVelocitySpeedLat.minimum;
      54                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.minimum = elementEgoVehicleStateVelocitySpeedLat.maximum;
      55                 :          1 :   elementEgoVehicleStateVelocity.speedLat = elementEgoVehicleStateVelocitySpeedLat;
      56                 :          1 :   elementEgoVehicleState.velocity = elementEgoVehicleStateVelocity;
      57                 :          1 :   ::ad::rss::world::RssDynamics elementEgoVehicleStateDynamics;
      58                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues elementEgoVehicleStateDynamicsAlphaLon;
      59                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonAccelMax(-1e2);
      60                 :          1 :   elementEgoVehicleStateDynamicsAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
      61                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.accelMax = elementEgoVehicleStateDynamicsAlphaLonAccelMax;
      62                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMax(-1e2);
      63                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMax = elementEgoVehicleStateDynamicsAlphaLonBrakeMax;
      64                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMin(-1e2);
      65                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLonBrakeMin;
      66                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2);
      67                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect;
      68                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLon.brakeMax;
      69                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementEgoVehicleStateDynamicsAlphaLon.brakeMin;
      70                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect;
      71                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMax = elementEgoVehicleStateDynamicsAlphaLon.brakeMin;
      72                 :          1 :   elementEgoVehicleStateDynamics.alphaLon = elementEgoVehicleStateDynamicsAlphaLon;
      73                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues elementEgoVehicleStateDynamicsAlphaLat;
      74                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLatAccelMax(-1e2);
      75                 :          1 :   elementEgoVehicleStateDynamicsAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
      76                 :          1 :   elementEgoVehicleStateDynamicsAlphaLat.accelMax = elementEgoVehicleStateDynamicsAlphaLatAccelMax;
      77                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLatBrakeMin(-1e2);
      78                 :          1 :   elementEgoVehicleStateDynamicsAlphaLat.brakeMin = elementEgoVehicleStateDynamicsAlphaLatBrakeMin;
      79                 :          1 :   elementEgoVehicleStateDynamics.alphaLat = elementEgoVehicleStateDynamicsAlphaLat;
      80                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsLateralFluctuationMargin(-1e9);
      81                 :            :   elementEgoVehicleStateDynamicsLateralFluctuationMargin
      82                 :          1 :     = ::ad::physics::Distance(0.); // set to valid value within struct
      83                 :          1 :   elementEgoVehicleStateDynamics.lateralFluctuationMargin = elementEgoVehicleStateDynamicsLateralFluctuationMargin;
      84                 :          1 :   ::ad::physics::Duration elementEgoVehicleStateDynamicsResponseTime(0.);
      85                 :            :   elementEgoVehicleStateDynamicsResponseTime
      86                 :          1 :     = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
      87                 :          1 :   elementEgoVehicleStateDynamics.responseTime = elementEgoVehicleStateDynamicsResponseTime;
      88                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateDynamicsMaxSpeedOnAcceleration(-100.);
      89                 :          1 :   elementEgoVehicleStateDynamics.maxSpeedOnAcceleration = elementEgoVehicleStateDynamicsMaxSpeedOnAcceleration;
      90                 :          1 :   ::ad::rss::world::UnstructuredSettings elementEgoVehicleStateDynamicsUnstructuredSettings;
      91                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9);
      92                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius
      93                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius;
      94                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308);
      95                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle
      96                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle;
      97                 :          1 :   ::ad::physics::AngularAcceleration elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2);
      98                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange
      99                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange;
     100                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9);
     101                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius
     102                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius;
     103                 :          1 :   ::ad::physics::Duration elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.);
     104                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep
     105                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep;
     106                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{
     107                 :            :     std::numeric_limits<uint32_t>::min()};
     108                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps
     109                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps;
     110                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{
     111                 :            :     std::numeric_limits<uint32_t>::min()};
     112                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps
     113                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps;
     114                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{
     115                 :            :     std::numeric_limits<uint32_t>::min()};
     116                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps
     117                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps;
     118                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{
     119                 :            :     std::numeric_limits<uint32_t>::min()};
     120                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps
     121                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps;
     122                 :          1 :   elementEgoVehicleStateDynamics.unstructuredSettings = elementEgoVehicleStateDynamicsUnstructuredSettings;
     123                 :          1 :   elementEgoVehicleState.dynamics = elementEgoVehicleStateDynamics;
     124                 :          1 :   bool elementEgoVehicleStateHasPriority{true};
     125                 :          1 :   elementEgoVehicleState.hasPriority = elementEgoVehicleStateHasPriority;
     126                 :          1 :   bool elementEgoVehicleStateIsInCorrectLane{true};
     127                 :          1 :   elementEgoVehicleState.isInCorrectLane = elementEgoVehicleStateIsInCorrectLane;
     128                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDistanceToEnterIntersection(-1e9);
     129                 :          1 :   elementEgoVehicleStateDistanceToEnterIntersection = ::ad::physics::Distance(0.); // set to valid value within struct
     130                 :          1 :   elementEgoVehicleState.distanceToEnterIntersection = elementEgoVehicleStateDistanceToEnterIntersection;
     131                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDistanceToLeaveIntersection(-1e9);
     132                 :          1 :   elementEgoVehicleState.distanceToLeaveIntersection = elementEgoVehicleStateDistanceToLeaveIntersection;
     133                 :          1 :   ::ad::rss::world::ObjectType elementEgoVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid);
     134                 :          1 :   elementEgoVehicleState.objectType = elementEgoVehicleStateObjectType;
     135                 :          1 :   ::ad::rss::world::ObjectState elementEgoVehicleStateObjectState;
     136                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateObjectStateYaw(-6.283185308);
     137                 :          1 :   elementEgoVehicleStateObjectState.yaw = elementEgoVehicleStateObjectStateYaw;
     138                 :          1 :   ::ad::physics::Dimension2D elementEgoVehicleStateObjectStateDimension;
     139                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateDimensionLength(-1e9);
     140                 :          1 :   elementEgoVehicleStateObjectStateDimension.length = elementEgoVehicleStateObjectStateDimensionLength;
     141                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateDimensionWidth(-1e9);
     142                 :          1 :   elementEgoVehicleStateObjectStateDimension.width = elementEgoVehicleStateObjectStateDimensionWidth;
     143                 :          1 :   elementEgoVehicleStateObjectState.dimension = elementEgoVehicleStateObjectStateDimension;
     144                 :          1 :   ::ad::physics::AngularVelocity elementEgoVehicleStateObjectStateYawRate(-100.);
     145                 :          1 :   elementEgoVehicleStateObjectState.yawRate = elementEgoVehicleStateObjectStateYawRate;
     146                 :          1 :   ::ad::physics::Distance2D elementEgoVehicleStateObjectStateCenterPoint;
     147                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateCenterPointX(-1e9);
     148                 :          1 :   elementEgoVehicleStateObjectStateCenterPoint.x = elementEgoVehicleStateObjectStateCenterPointX;
     149                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateCenterPointY(-1e9);
     150                 :          1 :   elementEgoVehicleStateObjectStateCenterPoint.y = elementEgoVehicleStateObjectStateCenterPointY;
     151                 :          1 :   elementEgoVehicleStateObjectState.centerPoint = elementEgoVehicleStateObjectStateCenterPoint;
     152                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateObjectStateSpeed(-100.);
     153                 :          1 :   elementEgoVehicleStateObjectState.speed = elementEgoVehicleStateObjectStateSpeed;
     154                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateObjectStateSteeringAngle(-6.283185308);
     155                 :          1 :   elementEgoVehicleStateObjectState.steeringAngle = elementEgoVehicleStateObjectStateSteeringAngle;
     156                 :          1 :   elementEgoVehicleState.objectState = elementEgoVehicleStateObjectState;
     157                 :          1 :   elementEgoVehicleState.distanceToLeaveIntersection = elementEgoVehicleState.distanceToEnterIntersection;
     158                 :          1 :   elementEgoVehicleState.distanceToEnterIntersection = elementEgoVehicleState.distanceToLeaveIntersection;
     159                 :          1 :   element.egoVehicleState = elementEgoVehicleState;
     160                 :          1 :   ::ad::rss::situation::VehicleState elementOtherVehicleState;
     161                 :          1 :   ::ad::rss::situation::VelocityRange elementOtherVehicleStateVelocity;
     162                 :          1 :   ::ad::physics::SpeedRange elementOtherVehicleStateVelocitySpeedLon;
     163                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLonMinimum(-100.);
     164                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.minimum = elementOtherVehicleStateVelocitySpeedLonMinimum;
     165                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLonMaximum(-100.);
     166                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.maximum = elementOtherVehicleStateVelocitySpeedLonMaximum;
     167                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.maximum = elementOtherVehicleStateVelocitySpeedLon.minimum;
     168                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.minimum = elementOtherVehicleStateVelocitySpeedLon.maximum;
     169                 :          1 :   elementOtherVehicleStateVelocity.speedLon = elementOtherVehicleStateVelocitySpeedLon;
     170                 :          1 :   ::ad::physics::SpeedRange elementOtherVehicleStateVelocitySpeedLat;
     171                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLatMinimum(-100.);
     172                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.minimum = elementOtherVehicleStateVelocitySpeedLatMinimum;
     173                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLatMaximum(-100.);
     174                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.maximum = elementOtherVehicleStateVelocitySpeedLatMaximum;
     175                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.maximum = elementOtherVehicleStateVelocitySpeedLat.minimum;
     176                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.minimum = elementOtherVehicleStateVelocitySpeedLat.maximum;
     177                 :          1 :   elementOtherVehicleStateVelocity.speedLat = elementOtherVehicleStateVelocitySpeedLat;
     178                 :          1 :   elementOtherVehicleState.velocity = elementOtherVehicleStateVelocity;
     179                 :          1 :   ::ad::rss::world::RssDynamics elementOtherVehicleStateDynamics;
     180                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues elementOtherVehicleStateDynamicsAlphaLon;
     181                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonAccelMax(-1e2);
     182                 :          1 :   elementOtherVehicleStateDynamicsAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within
     183                 :            :                                                                                       // struct
     184                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.accelMax = elementOtherVehicleStateDynamicsAlphaLonAccelMax;
     185                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMax(-1e2);
     186                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMax = elementOtherVehicleStateDynamicsAlphaLonBrakeMax;
     187                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMin(-1e2);
     188                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLonBrakeMin;
     189                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2);
     190                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect;
     191                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLon.brakeMax;
     192                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementOtherVehicleStateDynamicsAlphaLon.brakeMin;
     193                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect;
     194                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMax = elementOtherVehicleStateDynamicsAlphaLon.brakeMin;
     195                 :          1 :   elementOtherVehicleStateDynamics.alphaLon = elementOtherVehicleStateDynamicsAlphaLon;
     196                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues elementOtherVehicleStateDynamicsAlphaLat;
     197                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLatAccelMax(-1e2);
     198                 :          1 :   elementOtherVehicleStateDynamicsAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within
     199                 :            :                                                                                       // struct
     200                 :          1 :   elementOtherVehicleStateDynamicsAlphaLat.accelMax = elementOtherVehicleStateDynamicsAlphaLatAccelMax;
     201                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLatBrakeMin(-1e2);
     202                 :          1 :   elementOtherVehicleStateDynamicsAlphaLat.brakeMin = elementOtherVehicleStateDynamicsAlphaLatBrakeMin;
     203                 :          1 :   elementOtherVehicleStateDynamics.alphaLat = elementOtherVehicleStateDynamicsAlphaLat;
     204                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsLateralFluctuationMargin(-1e9);
     205                 :            :   elementOtherVehicleStateDynamicsLateralFluctuationMargin
     206                 :          1 :     = ::ad::physics::Distance(0.); // set to valid value within struct
     207                 :          1 :   elementOtherVehicleStateDynamics.lateralFluctuationMargin = elementOtherVehicleStateDynamicsLateralFluctuationMargin;
     208                 :          1 :   ::ad::physics::Duration elementOtherVehicleStateDynamicsResponseTime(0.);
     209                 :            :   elementOtherVehicleStateDynamicsResponseTime
     210                 :          1 :     = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
     211                 :          1 :   elementOtherVehicleStateDynamics.responseTime = elementOtherVehicleStateDynamicsResponseTime;
     212                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateDynamicsMaxSpeedOnAcceleration(-100.);
     213                 :          1 :   elementOtherVehicleStateDynamics.maxSpeedOnAcceleration = elementOtherVehicleStateDynamicsMaxSpeedOnAcceleration;
     214                 :          1 :   ::ad::rss::world::UnstructuredSettings elementOtherVehicleStateDynamicsUnstructuredSettings;
     215                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9);
     216                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius
     217                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius;
     218                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308);
     219                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle
     220                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle;
     221                 :          1 :   ::ad::physics::AngularAcceleration elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2);
     222                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange
     223                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange;
     224                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9);
     225                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius
     226                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius;
     227                 :          1 :   ::ad::physics::Duration elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.);
     228                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep
     229                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep;
     230                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{
     231                 :            :     std::numeric_limits<uint32_t>::min()};
     232                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps
     233                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps;
     234                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{
     235                 :            :     std::numeric_limits<uint32_t>::min()};
     236                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps
     237                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps;
     238                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{
     239                 :            :     std::numeric_limits<uint32_t>::min()};
     240                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps
     241                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps;
     242                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{
     243                 :            :     std::numeric_limits<uint32_t>::min()};
     244                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps
     245                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps;
     246                 :          1 :   elementOtherVehicleStateDynamics.unstructuredSettings = elementOtherVehicleStateDynamicsUnstructuredSettings;
     247                 :          1 :   elementOtherVehicleState.dynamics = elementOtherVehicleStateDynamics;
     248                 :          1 :   bool elementOtherVehicleStateHasPriority{true};
     249                 :          1 :   elementOtherVehicleState.hasPriority = elementOtherVehicleStateHasPriority;
     250                 :          1 :   bool elementOtherVehicleStateIsInCorrectLane{true};
     251                 :          1 :   elementOtherVehicleState.isInCorrectLane = elementOtherVehicleStateIsInCorrectLane;
     252                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDistanceToEnterIntersection(-1e9);
     253                 :          1 :   elementOtherVehicleStateDistanceToEnterIntersection = ::ad::physics::Distance(0.); // set to valid value within struct
     254                 :          1 :   elementOtherVehicleState.distanceToEnterIntersection = elementOtherVehicleStateDistanceToEnterIntersection;
     255                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDistanceToLeaveIntersection(-1e9);
     256                 :          1 :   elementOtherVehicleState.distanceToLeaveIntersection = elementOtherVehicleStateDistanceToLeaveIntersection;
     257                 :          1 :   ::ad::rss::world::ObjectType elementOtherVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid);
     258                 :          1 :   elementOtherVehicleState.objectType = elementOtherVehicleStateObjectType;
     259                 :          1 :   ::ad::rss::world::ObjectState elementOtherVehicleStateObjectState;
     260                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateObjectStateYaw(-6.283185308);
     261                 :          1 :   elementOtherVehicleStateObjectState.yaw = elementOtherVehicleStateObjectStateYaw;
     262                 :          1 :   ::ad::physics::Dimension2D elementOtherVehicleStateObjectStateDimension;
     263                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateDimensionLength(-1e9);
     264                 :          1 :   elementOtherVehicleStateObjectStateDimension.length = elementOtherVehicleStateObjectStateDimensionLength;
     265                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateDimensionWidth(-1e9);
     266                 :          1 :   elementOtherVehicleStateObjectStateDimension.width = elementOtherVehicleStateObjectStateDimensionWidth;
     267                 :          1 :   elementOtherVehicleStateObjectState.dimension = elementOtherVehicleStateObjectStateDimension;
     268                 :          1 :   ::ad::physics::AngularVelocity elementOtherVehicleStateObjectStateYawRate(-100.);
     269                 :          1 :   elementOtherVehicleStateObjectState.yawRate = elementOtherVehicleStateObjectStateYawRate;
     270                 :          1 :   ::ad::physics::Distance2D elementOtherVehicleStateObjectStateCenterPoint;
     271                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateCenterPointX(-1e9);
     272                 :          1 :   elementOtherVehicleStateObjectStateCenterPoint.x = elementOtherVehicleStateObjectStateCenterPointX;
     273                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateCenterPointY(-1e9);
     274                 :          1 :   elementOtherVehicleStateObjectStateCenterPoint.y = elementOtherVehicleStateObjectStateCenterPointY;
     275                 :          1 :   elementOtherVehicleStateObjectState.centerPoint = elementOtherVehicleStateObjectStateCenterPoint;
     276                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateObjectStateSpeed(-100.);
     277                 :          1 :   elementOtherVehicleStateObjectState.speed = elementOtherVehicleStateObjectStateSpeed;
     278                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateObjectStateSteeringAngle(-6.283185308);
     279                 :          1 :   elementOtherVehicleStateObjectState.steeringAngle = elementOtherVehicleStateObjectStateSteeringAngle;
     280                 :          1 :   elementOtherVehicleState.objectState = elementOtherVehicleStateObjectState;
     281                 :          1 :   elementOtherVehicleState.distanceToLeaveIntersection = elementOtherVehicleState.distanceToEnterIntersection;
     282                 :          1 :   elementOtherVehicleState.distanceToEnterIntersection = elementOtherVehicleState.distanceToLeaveIntersection;
     283                 :          1 :   element.otherVehicleState = elementOtherVehicleState;
     284                 :          1 :   ::ad::rss::situation::RelativePosition elementRelativePosition;
     285                 :          1 :   ::ad::rss::situation::LongitudinalRelativePosition elementRelativePositionLongitudinalPosition(
     286                 :            :     ::ad::rss::situation::LongitudinalRelativePosition::InFront);
     287                 :          1 :   elementRelativePosition.longitudinalPosition = elementRelativePositionLongitudinalPosition;
     288                 :          1 :   ::ad::physics::Distance elementRelativePositionLongitudinalDistance(-1e9);
     289                 :          1 :   elementRelativePosition.longitudinalDistance = elementRelativePositionLongitudinalDistance;
     290                 :          1 :   ::ad::rss::situation::LateralRelativePosition elementRelativePositionLateralPosition(
     291                 :            :     ::ad::rss::situation::LateralRelativePosition::AtLeft);
     292                 :          1 :   elementRelativePosition.lateralPosition = elementRelativePositionLateralPosition;
     293                 :          1 :   ::ad::physics::Distance elementRelativePositionLateralDistance(-1e9);
     294                 :          1 :   elementRelativePosition.lateralDistance = elementRelativePositionLateralDistance;
     295                 :          1 :   element.relativePosition = elementRelativePosition;
     296         [ +  - ]:          1 :   value.resize(1000, element);
     297   [ +  -  -  +  :          1 :   ASSERT_TRUE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     298                 :            : }
     299                 :            : 
     300                 :          2 : TEST(SituationVectorValidInputRangeTests, testValidInputRangeHigherThanInputRangeMax)
     301                 :            : {
     302                 :          1 :   ::ad::rss::situation::SituationVector value;
     303                 :          1 :   ::ad::rss::situation::Situation element;
     304                 :          1 :   ::ad::rss::situation::SituationId elementSituationId(
     305                 :            :     std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     306                 :          1 :   element.situationId = elementSituationId;
     307                 :          1 :   ::ad::rss::world::ObjectId elementObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     308                 :          1 :   element.objectId = elementObjectId;
     309                 :          1 :   ::ad::rss::situation::SituationType elementSituationType(::ad::rss::situation::SituationType::NotRelevant);
     310                 :          1 :   element.situationType = elementSituationType;
     311                 :          1 :   ::ad::rss::situation::VehicleState elementEgoVehicleState;
     312                 :          1 :   ::ad::rss::situation::VelocityRange elementEgoVehicleStateVelocity;
     313                 :          1 :   ::ad::physics::SpeedRange elementEgoVehicleStateVelocitySpeedLon;
     314                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLonMinimum(-100.);
     315                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.minimum = elementEgoVehicleStateVelocitySpeedLonMinimum;
     316                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLonMaximum(-100.);
     317                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.maximum = elementEgoVehicleStateVelocitySpeedLonMaximum;
     318                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.maximum = elementEgoVehicleStateVelocitySpeedLon.minimum;
     319                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.minimum = elementEgoVehicleStateVelocitySpeedLon.maximum;
     320                 :          1 :   elementEgoVehicleStateVelocity.speedLon = elementEgoVehicleStateVelocitySpeedLon;
     321                 :          1 :   ::ad::physics::SpeedRange elementEgoVehicleStateVelocitySpeedLat;
     322                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLatMinimum(-100.);
     323                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.minimum = elementEgoVehicleStateVelocitySpeedLatMinimum;
     324                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLatMaximum(-100.);
     325                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.maximum = elementEgoVehicleStateVelocitySpeedLatMaximum;
     326                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.maximum = elementEgoVehicleStateVelocitySpeedLat.minimum;
     327                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.minimum = elementEgoVehicleStateVelocitySpeedLat.maximum;
     328                 :          1 :   elementEgoVehicleStateVelocity.speedLat = elementEgoVehicleStateVelocitySpeedLat;
     329                 :          1 :   elementEgoVehicleState.velocity = elementEgoVehicleStateVelocity;
     330                 :          1 :   ::ad::rss::world::RssDynamics elementEgoVehicleStateDynamics;
     331                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues elementEgoVehicleStateDynamicsAlphaLon;
     332                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonAccelMax(-1e2);
     333                 :          1 :   elementEgoVehicleStateDynamicsAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     334                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.accelMax = elementEgoVehicleStateDynamicsAlphaLonAccelMax;
     335                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMax(-1e2);
     336                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMax = elementEgoVehicleStateDynamicsAlphaLonBrakeMax;
     337                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMin(-1e2);
     338                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLonBrakeMin;
     339                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2);
     340                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect;
     341                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLon.brakeMax;
     342                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementEgoVehicleStateDynamicsAlphaLon.brakeMin;
     343                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect;
     344                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMax = elementEgoVehicleStateDynamicsAlphaLon.brakeMin;
     345                 :          1 :   elementEgoVehicleStateDynamics.alphaLon = elementEgoVehicleStateDynamicsAlphaLon;
     346                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues elementEgoVehicleStateDynamicsAlphaLat;
     347                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLatAccelMax(-1e2);
     348                 :          1 :   elementEgoVehicleStateDynamicsAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     349                 :          1 :   elementEgoVehicleStateDynamicsAlphaLat.accelMax = elementEgoVehicleStateDynamicsAlphaLatAccelMax;
     350                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLatBrakeMin(-1e2);
     351                 :          1 :   elementEgoVehicleStateDynamicsAlphaLat.brakeMin = elementEgoVehicleStateDynamicsAlphaLatBrakeMin;
     352                 :          1 :   elementEgoVehicleStateDynamics.alphaLat = elementEgoVehicleStateDynamicsAlphaLat;
     353                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsLateralFluctuationMargin(-1e9);
     354                 :            :   elementEgoVehicleStateDynamicsLateralFluctuationMargin
     355                 :          1 :     = ::ad::physics::Distance(0.); // set to valid value within struct
     356                 :          1 :   elementEgoVehicleStateDynamics.lateralFluctuationMargin = elementEgoVehicleStateDynamicsLateralFluctuationMargin;
     357                 :          1 :   ::ad::physics::Duration elementEgoVehicleStateDynamicsResponseTime(0.);
     358                 :            :   elementEgoVehicleStateDynamicsResponseTime
     359                 :          1 :     = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
     360                 :          1 :   elementEgoVehicleStateDynamics.responseTime = elementEgoVehicleStateDynamicsResponseTime;
     361                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateDynamicsMaxSpeedOnAcceleration(-100.);
     362                 :          1 :   elementEgoVehicleStateDynamics.maxSpeedOnAcceleration = elementEgoVehicleStateDynamicsMaxSpeedOnAcceleration;
     363                 :          1 :   ::ad::rss::world::UnstructuredSettings elementEgoVehicleStateDynamicsUnstructuredSettings;
     364                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9);
     365                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius
     366                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius;
     367                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308);
     368                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle
     369                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle;
     370                 :          1 :   ::ad::physics::AngularAcceleration elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2);
     371                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange
     372                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange;
     373                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9);
     374                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius
     375                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius;
     376                 :          1 :   ::ad::physics::Duration elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.);
     377                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep
     378                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep;
     379                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{
     380                 :            :     std::numeric_limits<uint32_t>::min()};
     381                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps
     382                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps;
     383                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{
     384                 :            :     std::numeric_limits<uint32_t>::min()};
     385                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps
     386                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps;
     387                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{
     388                 :            :     std::numeric_limits<uint32_t>::min()};
     389                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps
     390                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps;
     391                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{
     392                 :            :     std::numeric_limits<uint32_t>::min()};
     393                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps
     394                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps;
     395                 :          1 :   elementEgoVehicleStateDynamics.unstructuredSettings = elementEgoVehicleStateDynamicsUnstructuredSettings;
     396                 :          1 :   elementEgoVehicleState.dynamics = elementEgoVehicleStateDynamics;
     397                 :          1 :   bool elementEgoVehicleStateHasPriority{true};
     398                 :          1 :   elementEgoVehicleState.hasPriority = elementEgoVehicleStateHasPriority;
     399                 :          1 :   bool elementEgoVehicleStateIsInCorrectLane{true};
     400                 :          1 :   elementEgoVehicleState.isInCorrectLane = elementEgoVehicleStateIsInCorrectLane;
     401                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDistanceToEnterIntersection(-1e9);
     402                 :          1 :   elementEgoVehicleStateDistanceToEnterIntersection = ::ad::physics::Distance(0.); // set to valid value within struct
     403                 :          1 :   elementEgoVehicleState.distanceToEnterIntersection = elementEgoVehicleStateDistanceToEnterIntersection;
     404                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDistanceToLeaveIntersection(-1e9);
     405                 :          1 :   elementEgoVehicleState.distanceToLeaveIntersection = elementEgoVehicleStateDistanceToLeaveIntersection;
     406                 :          1 :   ::ad::rss::world::ObjectType elementEgoVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid);
     407                 :          1 :   elementEgoVehicleState.objectType = elementEgoVehicleStateObjectType;
     408                 :          1 :   ::ad::rss::world::ObjectState elementEgoVehicleStateObjectState;
     409                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateObjectStateYaw(-6.283185308);
     410                 :          1 :   elementEgoVehicleStateObjectState.yaw = elementEgoVehicleStateObjectStateYaw;
     411                 :          1 :   ::ad::physics::Dimension2D elementEgoVehicleStateObjectStateDimension;
     412                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateDimensionLength(-1e9);
     413                 :          1 :   elementEgoVehicleStateObjectStateDimension.length = elementEgoVehicleStateObjectStateDimensionLength;
     414                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateDimensionWidth(-1e9);
     415                 :          1 :   elementEgoVehicleStateObjectStateDimension.width = elementEgoVehicleStateObjectStateDimensionWidth;
     416                 :          1 :   elementEgoVehicleStateObjectState.dimension = elementEgoVehicleStateObjectStateDimension;
     417                 :          1 :   ::ad::physics::AngularVelocity elementEgoVehicleStateObjectStateYawRate(-100.);
     418                 :          1 :   elementEgoVehicleStateObjectState.yawRate = elementEgoVehicleStateObjectStateYawRate;
     419                 :          1 :   ::ad::physics::Distance2D elementEgoVehicleStateObjectStateCenterPoint;
     420                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateCenterPointX(-1e9);
     421                 :          1 :   elementEgoVehicleStateObjectStateCenterPoint.x = elementEgoVehicleStateObjectStateCenterPointX;
     422                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateCenterPointY(-1e9);
     423                 :          1 :   elementEgoVehicleStateObjectStateCenterPoint.y = elementEgoVehicleStateObjectStateCenterPointY;
     424                 :          1 :   elementEgoVehicleStateObjectState.centerPoint = elementEgoVehicleStateObjectStateCenterPoint;
     425                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateObjectStateSpeed(-100.);
     426                 :          1 :   elementEgoVehicleStateObjectState.speed = elementEgoVehicleStateObjectStateSpeed;
     427                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateObjectStateSteeringAngle(-6.283185308);
     428                 :          1 :   elementEgoVehicleStateObjectState.steeringAngle = elementEgoVehicleStateObjectStateSteeringAngle;
     429                 :          1 :   elementEgoVehicleState.objectState = elementEgoVehicleStateObjectState;
     430                 :          1 :   elementEgoVehicleState.distanceToLeaveIntersection = elementEgoVehicleState.distanceToEnterIntersection;
     431                 :          1 :   elementEgoVehicleState.distanceToEnterIntersection = elementEgoVehicleState.distanceToLeaveIntersection;
     432                 :          1 :   element.egoVehicleState = elementEgoVehicleState;
     433                 :          1 :   ::ad::rss::situation::VehicleState elementOtherVehicleState;
     434                 :          1 :   ::ad::rss::situation::VelocityRange elementOtherVehicleStateVelocity;
     435                 :          1 :   ::ad::physics::SpeedRange elementOtherVehicleStateVelocitySpeedLon;
     436                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLonMinimum(-100.);
     437                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.minimum = elementOtherVehicleStateVelocitySpeedLonMinimum;
     438                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLonMaximum(-100.);
     439                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.maximum = elementOtherVehicleStateVelocitySpeedLonMaximum;
     440                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.maximum = elementOtherVehicleStateVelocitySpeedLon.minimum;
     441                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.minimum = elementOtherVehicleStateVelocitySpeedLon.maximum;
     442                 :          1 :   elementOtherVehicleStateVelocity.speedLon = elementOtherVehicleStateVelocitySpeedLon;
     443                 :          1 :   ::ad::physics::SpeedRange elementOtherVehicleStateVelocitySpeedLat;
     444                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLatMinimum(-100.);
     445                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.minimum = elementOtherVehicleStateVelocitySpeedLatMinimum;
     446                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLatMaximum(-100.);
     447                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.maximum = elementOtherVehicleStateVelocitySpeedLatMaximum;
     448                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.maximum = elementOtherVehicleStateVelocitySpeedLat.minimum;
     449                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.minimum = elementOtherVehicleStateVelocitySpeedLat.maximum;
     450                 :          1 :   elementOtherVehicleStateVelocity.speedLat = elementOtherVehicleStateVelocitySpeedLat;
     451                 :          1 :   elementOtherVehicleState.velocity = elementOtherVehicleStateVelocity;
     452                 :          1 :   ::ad::rss::world::RssDynamics elementOtherVehicleStateDynamics;
     453                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues elementOtherVehicleStateDynamicsAlphaLon;
     454                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonAccelMax(-1e2);
     455                 :          1 :   elementOtherVehicleStateDynamicsAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within
     456                 :            :                                                                                       // struct
     457                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.accelMax = elementOtherVehicleStateDynamicsAlphaLonAccelMax;
     458                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMax(-1e2);
     459                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMax = elementOtherVehicleStateDynamicsAlphaLonBrakeMax;
     460                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMin(-1e2);
     461                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLonBrakeMin;
     462                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2);
     463                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect;
     464                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLon.brakeMax;
     465                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementOtherVehicleStateDynamicsAlphaLon.brakeMin;
     466                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect;
     467                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMax = elementOtherVehicleStateDynamicsAlphaLon.brakeMin;
     468                 :          1 :   elementOtherVehicleStateDynamics.alphaLon = elementOtherVehicleStateDynamicsAlphaLon;
     469                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues elementOtherVehicleStateDynamicsAlphaLat;
     470                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLatAccelMax(-1e2);
     471                 :          1 :   elementOtherVehicleStateDynamicsAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within
     472                 :            :                                                                                       // struct
     473                 :          1 :   elementOtherVehicleStateDynamicsAlphaLat.accelMax = elementOtherVehicleStateDynamicsAlphaLatAccelMax;
     474                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLatBrakeMin(-1e2);
     475                 :          1 :   elementOtherVehicleStateDynamicsAlphaLat.brakeMin = elementOtherVehicleStateDynamicsAlphaLatBrakeMin;
     476                 :          1 :   elementOtherVehicleStateDynamics.alphaLat = elementOtherVehicleStateDynamicsAlphaLat;
     477                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsLateralFluctuationMargin(-1e9);
     478                 :            :   elementOtherVehicleStateDynamicsLateralFluctuationMargin
     479                 :          1 :     = ::ad::physics::Distance(0.); // set to valid value within struct
     480                 :          1 :   elementOtherVehicleStateDynamics.lateralFluctuationMargin = elementOtherVehicleStateDynamicsLateralFluctuationMargin;
     481                 :          1 :   ::ad::physics::Duration elementOtherVehicleStateDynamicsResponseTime(0.);
     482                 :            :   elementOtherVehicleStateDynamicsResponseTime
     483                 :          1 :     = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
     484                 :          1 :   elementOtherVehicleStateDynamics.responseTime = elementOtherVehicleStateDynamicsResponseTime;
     485                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateDynamicsMaxSpeedOnAcceleration(-100.);
     486                 :          1 :   elementOtherVehicleStateDynamics.maxSpeedOnAcceleration = elementOtherVehicleStateDynamicsMaxSpeedOnAcceleration;
     487                 :          1 :   ::ad::rss::world::UnstructuredSettings elementOtherVehicleStateDynamicsUnstructuredSettings;
     488                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9);
     489                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius
     490                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius;
     491                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308);
     492                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle
     493                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle;
     494                 :          1 :   ::ad::physics::AngularAcceleration elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2);
     495                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange
     496                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange;
     497                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9);
     498                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius
     499                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius;
     500                 :          1 :   ::ad::physics::Duration elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.);
     501                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep
     502                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep;
     503                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{
     504                 :            :     std::numeric_limits<uint32_t>::min()};
     505                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps
     506                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps;
     507                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{
     508                 :            :     std::numeric_limits<uint32_t>::min()};
     509                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps
     510                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps;
     511                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{
     512                 :            :     std::numeric_limits<uint32_t>::min()};
     513                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps
     514                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps;
     515                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{
     516                 :            :     std::numeric_limits<uint32_t>::min()};
     517                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps
     518                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps;
     519                 :          1 :   elementOtherVehicleStateDynamics.unstructuredSettings = elementOtherVehicleStateDynamicsUnstructuredSettings;
     520                 :          1 :   elementOtherVehicleState.dynamics = elementOtherVehicleStateDynamics;
     521                 :          1 :   bool elementOtherVehicleStateHasPriority{true};
     522                 :          1 :   elementOtherVehicleState.hasPriority = elementOtherVehicleStateHasPriority;
     523                 :          1 :   bool elementOtherVehicleStateIsInCorrectLane{true};
     524                 :          1 :   elementOtherVehicleState.isInCorrectLane = elementOtherVehicleStateIsInCorrectLane;
     525                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDistanceToEnterIntersection(-1e9);
     526                 :          1 :   elementOtherVehicleStateDistanceToEnterIntersection = ::ad::physics::Distance(0.); // set to valid value within struct
     527                 :          1 :   elementOtherVehicleState.distanceToEnterIntersection = elementOtherVehicleStateDistanceToEnterIntersection;
     528                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDistanceToLeaveIntersection(-1e9);
     529                 :          1 :   elementOtherVehicleState.distanceToLeaveIntersection = elementOtherVehicleStateDistanceToLeaveIntersection;
     530                 :          1 :   ::ad::rss::world::ObjectType elementOtherVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid);
     531                 :          1 :   elementOtherVehicleState.objectType = elementOtherVehicleStateObjectType;
     532                 :          1 :   ::ad::rss::world::ObjectState elementOtherVehicleStateObjectState;
     533                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateObjectStateYaw(-6.283185308);
     534                 :          1 :   elementOtherVehicleStateObjectState.yaw = elementOtherVehicleStateObjectStateYaw;
     535                 :          1 :   ::ad::physics::Dimension2D elementOtherVehicleStateObjectStateDimension;
     536                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateDimensionLength(-1e9);
     537                 :          1 :   elementOtherVehicleStateObjectStateDimension.length = elementOtherVehicleStateObjectStateDimensionLength;
     538                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateDimensionWidth(-1e9);
     539                 :          1 :   elementOtherVehicleStateObjectStateDimension.width = elementOtherVehicleStateObjectStateDimensionWidth;
     540                 :          1 :   elementOtherVehicleStateObjectState.dimension = elementOtherVehicleStateObjectStateDimension;
     541                 :          1 :   ::ad::physics::AngularVelocity elementOtherVehicleStateObjectStateYawRate(-100.);
     542                 :          1 :   elementOtherVehicleStateObjectState.yawRate = elementOtherVehicleStateObjectStateYawRate;
     543                 :          1 :   ::ad::physics::Distance2D elementOtherVehicleStateObjectStateCenterPoint;
     544                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateCenterPointX(-1e9);
     545                 :          1 :   elementOtherVehicleStateObjectStateCenterPoint.x = elementOtherVehicleStateObjectStateCenterPointX;
     546                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateCenterPointY(-1e9);
     547                 :          1 :   elementOtherVehicleStateObjectStateCenterPoint.y = elementOtherVehicleStateObjectStateCenterPointY;
     548                 :          1 :   elementOtherVehicleStateObjectState.centerPoint = elementOtherVehicleStateObjectStateCenterPoint;
     549                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateObjectStateSpeed(-100.);
     550                 :          1 :   elementOtherVehicleStateObjectState.speed = elementOtherVehicleStateObjectStateSpeed;
     551                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateObjectStateSteeringAngle(-6.283185308);
     552                 :          1 :   elementOtherVehicleStateObjectState.steeringAngle = elementOtherVehicleStateObjectStateSteeringAngle;
     553                 :          1 :   elementOtherVehicleState.objectState = elementOtherVehicleStateObjectState;
     554                 :          1 :   elementOtherVehicleState.distanceToLeaveIntersection = elementOtherVehicleState.distanceToEnterIntersection;
     555                 :          1 :   elementOtherVehicleState.distanceToEnterIntersection = elementOtherVehicleState.distanceToLeaveIntersection;
     556                 :          1 :   element.otherVehicleState = elementOtherVehicleState;
     557                 :          1 :   ::ad::rss::situation::RelativePosition elementRelativePosition;
     558                 :          1 :   ::ad::rss::situation::LongitudinalRelativePosition elementRelativePositionLongitudinalPosition(
     559                 :            :     ::ad::rss::situation::LongitudinalRelativePosition::InFront);
     560                 :          1 :   elementRelativePosition.longitudinalPosition = elementRelativePositionLongitudinalPosition;
     561                 :          1 :   ::ad::physics::Distance elementRelativePositionLongitudinalDistance(-1e9);
     562                 :          1 :   elementRelativePosition.longitudinalDistance = elementRelativePositionLongitudinalDistance;
     563                 :          1 :   ::ad::rss::situation::LateralRelativePosition elementRelativePositionLateralPosition(
     564                 :            :     ::ad::rss::situation::LateralRelativePosition::AtLeft);
     565                 :          1 :   elementRelativePosition.lateralPosition = elementRelativePositionLateralPosition;
     566                 :          1 :   ::ad::physics::Distance elementRelativePositionLateralDistance(-1e9);
     567                 :          1 :   elementRelativePosition.lateralDistance = elementRelativePositionLateralDistance;
     568                 :          1 :   element.relativePosition = elementRelativePosition;
     569         [ +  - ]:          1 :   value.resize(1001, element);
     570   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     571                 :            : }
     572                 :            : 
     573                 :          2 : TEST(SituationVectorValidInputRangeTests, testValidInputRangeElementTypeInvalid)
     574                 :            : {
     575                 :          1 :   ::ad::rss::situation::SituationVector value;
     576                 :          1 :   ::ad::rss::situation::Situation element;
     577                 :          1 :   ::ad::rss::situation::SituationType elementSituationType(static_cast<::ad::rss::situation::SituationType>(-1));
     578                 :          1 :   element.situationType = elementSituationType;
     579         [ +  - ]:          1 :   value.resize(999, element);
     580   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     581                 :            : }
     582                 :            : 
     583                 :          2 : TEST(SituationVectorValidInputRangeTests, testValidInputRangeElementValid)
     584                 :            : {
     585                 :          1 :   ::ad::rss::situation::SituationVector value;
     586                 :          1 :   ::ad::rss::situation::Situation element;
     587                 :          1 :   ::ad::rss::situation::SituationId elementSituationId(
     588                 :            :     std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     589                 :          1 :   element.situationId = elementSituationId;
     590                 :          1 :   ::ad::rss::world::ObjectId elementObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     591                 :          1 :   element.objectId = elementObjectId;
     592                 :          1 :   ::ad::rss::situation::SituationType elementSituationType(::ad::rss::situation::SituationType::NotRelevant);
     593                 :          1 :   element.situationType = elementSituationType;
     594                 :          1 :   ::ad::rss::situation::VehicleState elementEgoVehicleState;
     595                 :          1 :   ::ad::rss::situation::VelocityRange elementEgoVehicleStateVelocity;
     596                 :          1 :   ::ad::physics::SpeedRange elementEgoVehicleStateVelocitySpeedLon;
     597                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLonMinimum(-100.);
     598                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.minimum = elementEgoVehicleStateVelocitySpeedLonMinimum;
     599                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLonMaximum(-100.);
     600                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.maximum = elementEgoVehicleStateVelocitySpeedLonMaximum;
     601                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.maximum = elementEgoVehicleStateVelocitySpeedLon.minimum;
     602                 :          1 :   elementEgoVehicleStateVelocitySpeedLon.minimum = elementEgoVehicleStateVelocitySpeedLon.maximum;
     603                 :          1 :   elementEgoVehicleStateVelocity.speedLon = elementEgoVehicleStateVelocitySpeedLon;
     604                 :          1 :   ::ad::physics::SpeedRange elementEgoVehicleStateVelocitySpeedLat;
     605                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLatMinimum(-100.);
     606                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.minimum = elementEgoVehicleStateVelocitySpeedLatMinimum;
     607                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateVelocitySpeedLatMaximum(-100.);
     608                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.maximum = elementEgoVehicleStateVelocitySpeedLatMaximum;
     609                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.maximum = elementEgoVehicleStateVelocitySpeedLat.minimum;
     610                 :          1 :   elementEgoVehicleStateVelocitySpeedLat.minimum = elementEgoVehicleStateVelocitySpeedLat.maximum;
     611                 :          1 :   elementEgoVehicleStateVelocity.speedLat = elementEgoVehicleStateVelocitySpeedLat;
     612                 :          1 :   elementEgoVehicleState.velocity = elementEgoVehicleStateVelocity;
     613                 :          1 :   ::ad::rss::world::RssDynamics elementEgoVehicleStateDynamics;
     614                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues elementEgoVehicleStateDynamicsAlphaLon;
     615                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonAccelMax(-1e2);
     616                 :          1 :   elementEgoVehicleStateDynamicsAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     617                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.accelMax = elementEgoVehicleStateDynamicsAlphaLonAccelMax;
     618                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMax(-1e2);
     619                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMax = elementEgoVehicleStateDynamicsAlphaLonBrakeMax;
     620                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMin(-1e2);
     621                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLonBrakeMin;
     622                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2);
     623                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect;
     624                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLon.brakeMax;
     625                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementEgoVehicleStateDynamicsAlphaLon.brakeMin;
     626                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMin = elementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect;
     627                 :          1 :   elementEgoVehicleStateDynamicsAlphaLon.brakeMax = elementEgoVehicleStateDynamicsAlphaLon.brakeMin;
     628                 :          1 :   elementEgoVehicleStateDynamics.alphaLon = elementEgoVehicleStateDynamicsAlphaLon;
     629                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues elementEgoVehicleStateDynamicsAlphaLat;
     630                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLatAccelMax(-1e2);
     631                 :          1 :   elementEgoVehicleStateDynamicsAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     632                 :          1 :   elementEgoVehicleStateDynamicsAlphaLat.accelMax = elementEgoVehicleStateDynamicsAlphaLatAccelMax;
     633                 :          1 :   ::ad::physics::Acceleration elementEgoVehicleStateDynamicsAlphaLatBrakeMin(-1e2);
     634                 :          1 :   elementEgoVehicleStateDynamicsAlphaLat.brakeMin = elementEgoVehicleStateDynamicsAlphaLatBrakeMin;
     635                 :          1 :   elementEgoVehicleStateDynamics.alphaLat = elementEgoVehicleStateDynamicsAlphaLat;
     636                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsLateralFluctuationMargin(-1e9);
     637                 :            :   elementEgoVehicleStateDynamicsLateralFluctuationMargin
     638                 :          1 :     = ::ad::physics::Distance(0.); // set to valid value within struct
     639                 :          1 :   elementEgoVehicleStateDynamics.lateralFluctuationMargin = elementEgoVehicleStateDynamicsLateralFluctuationMargin;
     640                 :          1 :   ::ad::physics::Duration elementEgoVehicleStateDynamicsResponseTime(0.);
     641                 :            :   elementEgoVehicleStateDynamicsResponseTime
     642                 :          1 :     = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
     643                 :          1 :   elementEgoVehicleStateDynamics.responseTime = elementEgoVehicleStateDynamicsResponseTime;
     644                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateDynamicsMaxSpeedOnAcceleration(-100.);
     645                 :          1 :   elementEgoVehicleStateDynamics.maxSpeedOnAcceleration = elementEgoVehicleStateDynamicsMaxSpeedOnAcceleration;
     646                 :          1 :   ::ad::rss::world::UnstructuredSettings elementEgoVehicleStateDynamicsUnstructuredSettings;
     647                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9);
     648                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius
     649                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius;
     650                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308);
     651                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle
     652                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle;
     653                 :          1 :   ::ad::physics::AngularAcceleration elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2);
     654                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange
     655                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange;
     656                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9);
     657                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius
     658                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius;
     659                 :          1 :   ::ad::physics::Duration elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.);
     660                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep
     661                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep;
     662                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{
     663                 :            :     std::numeric_limits<uint32_t>::min()};
     664                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps
     665                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps;
     666                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{
     667                 :            :     std::numeric_limits<uint32_t>::min()};
     668                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps
     669                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps;
     670                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{
     671                 :            :     std::numeric_limits<uint32_t>::min()};
     672                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps
     673                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps;
     674                 :          1 :   uint32_t elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{
     675                 :            :     std::numeric_limits<uint32_t>::min()};
     676                 :            :   elementEgoVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps
     677                 :          1 :     = elementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps;
     678                 :          1 :   elementEgoVehicleStateDynamics.unstructuredSettings = elementEgoVehicleStateDynamicsUnstructuredSettings;
     679                 :          1 :   elementEgoVehicleState.dynamics = elementEgoVehicleStateDynamics;
     680                 :          1 :   bool elementEgoVehicleStateHasPriority{true};
     681                 :          1 :   elementEgoVehicleState.hasPriority = elementEgoVehicleStateHasPriority;
     682                 :          1 :   bool elementEgoVehicleStateIsInCorrectLane{true};
     683                 :          1 :   elementEgoVehicleState.isInCorrectLane = elementEgoVehicleStateIsInCorrectLane;
     684                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDistanceToEnterIntersection(-1e9);
     685                 :          1 :   elementEgoVehicleStateDistanceToEnterIntersection = ::ad::physics::Distance(0.); // set to valid value within struct
     686                 :          1 :   elementEgoVehicleState.distanceToEnterIntersection = elementEgoVehicleStateDistanceToEnterIntersection;
     687                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateDistanceToLeaveIntersection(-1e9);
     688                 :          1 :   elementEgoVehicleState.distanceToLeaveIntersection = elementEgoVehicleStateDistanceToLeaveIntersection;
     689                 :          1 :   ::ad::rss::world::ObjectType elementEgoVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid);
     690                 :          1 :   elementEgoVehicleState.objectType = elementEgoVehicleStateObjectType;
     691                 :          1 :   ::ad::rss::world::ObjectState elementEgoVehicleStateObjectState;
     692                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateObjectStateYaw(-6.283185308);
     693                 :          1 :   elementEgoVehicleStateObjectState.yaw = elementEgoVehicleStateObjectStateYaw;
     694                 :          1 :   ::ad::physics::Dimension2D elementEgoVehicleStateObjectStateDimension;
     695                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateDimensionLength(-1e9);
     696                 :          1 :   elementEgoVehicleStateObjectStateDimension.length = elementEgoVehicleStateObjectStateDimensionLength;
     697                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateDimensionWidth(-1e9);
     698                 :          1 :   elementEgoVehicleStateObjectStateDimension.width = elementEgoVehicleStateObjectStateDimensionWidth;
     699                 :          1 :   elementEgoVehicleStateObjectState.dimension = elementEgoVehicleStateObjectStateDimension;
     700                 :          1 :   ::ad::physics::AngularVelocity elementEgoVehicleStateObjectStateYawRate(-100.);
     701                 :          1 :   elementEgoVehicleStateObjectState.yawRate = elementEgoVehicleStateObjectStateYawRate;
     702                 :          1 :   ::ad::physics::Distance2D elementEgoVehicleStateObjectStateCenterPoint;
     703                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateCenterPointX(-1e9);
     704                 :          1 :   elementEgoVehicleStateObjectStateCenterPoint.x = elementEgoVehicleStateObjectStateCenterPointX;
     705                 :          1 :   ::ad::physics::Distance elementEgoVehicleStateObjectStateCenterPointY(-1e9);
     706                 :          1 :   elementEgoVehicleStateObjectStateCenterPoint.y = elementEgoVehicleStateObjectStateCenterPointY;
     707                 :          1 :   elementEgoVehicleStateObjectState.centerPoint = elementEgoVehicleStateObjectStateCenterPoint;
     708                 :          1 :   ::ad::physics::Speed elementEgoVehicleStateObjectStateSpeed(-100.);
     709                 :          1 :   elementEgoVehicleStateObjectState.speed = elementEgoVehicleStateObjectStateSpeed;
     710                 :          1 :   ::ad::physics::Angle elementEgoVehicleStateObjectStateSteeringAngle(-6.283185308);
     711                 :          1 :   elementEgoVehicleStateObjectState.steeringAngle = elementEgoVehicleStateObjectStateSteeringAngle;
     712                 :          1 :   elementEgoVehicleState.objectState = elementEgoVehicleStateObjectState;
     713                 :          1 :   elementEgoVehicleState.distanceToLeaveIntersection = elementEgoVehicleState.distanceToEnterIntersection;
     714                 :          1 :   elementEgoVehicleState.distanceToEnterIntersection = elementEgoVehicleState.distanceToLeaveIntersection;
     715                 :          1 :   element.egoVehicleState = elementEgoVehicleState;
     716                 :          1 :   ::ad::rss::situation::VehicleState elementOtherVehicleState;
     717                 :          1 :   ::ad::rss::situation::VelocityRange elementOtherVehicleStateVelocity;
     718                 :          1 :   ::ad::physics::SpeedRange elementOtherVehicleStateVelocitySpeedLon;
     719                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLonMinimum(-100.);
     720                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.minimum = elementOtherVehicleStateVelocitySpeedLonMinimum;
     721                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLonMaximum(-100.);
     722                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.maximum = elementOtherVehicleStateVelocitySpeedLonMaximum;
     723                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.maximum = elementOtherVehicleStateVelocitySpeedLon.minimum;
     724                 :          1 :   elementOtherVehicleStateVelocitySpeedLon.minimum = elementOtherVehicleStateVelocitySpeedLon.maximum;
     725                 :          1 :   elementOtherVehicleStateVelocity.speedLon = elementOtherVehicleStateVelocitySpeedLon;
     726                 :          1 :   ::ad::physics::SpeedRange elementOtherVehicleStateVelocitySpeedLat;
     727                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLatMinimum(-100.);
     728                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.minimum = elementOtherVehicleStateVelocitySpeedLatMinimum;
     729                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateVelocitySpeedLatMaximum(-100.);
     730                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.maximum = elementOtherVehicleStateVelocitySpeedLatMaximum;
     731                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.maximum = elementOtherVehicleStateVelocitySpeedLat.minimum;
     732                 :          1 :   elementOtherVehicleStateVelocitySpeedLat.minimum = elementOtherVehicleStateVelocitySpeedLat.maximum;
     733                 :          1 :   elementOtherVehicleStateVelocity.speedLat = elementOtherVehicleStateVelocitySpeedLat;
     734                 :          1 :   elementOtherVehicleState.velocity = elementOtherVehicleStateVelocity;
     735                 :          1 :   ::ad::rss::world::RssDynamics elementOtherVehicleStateDynamics;
     736                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues elementOtherVehicleStateDynamicsAlphaLon;
     737                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonAccelMax(-1e2);
     738                 :          1 :   elementOtherVehicleStateDynamicsAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within
     739                 :            :                                                                                       // struct
     740                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.accelMax = elementOtherVehicleStateDynamicsAlphaLonAccelMax;
     741                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMax(-1e2);
     742                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMax = elementOtherVehicleStateDynamicsAlphaLonBrakeMax;
     743                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMin(-1e2);
     744                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLonBrakeMin;
     745                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2);
     746                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect;
     747                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLon.brakeMax;
     748                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect = elementOtherVehicleStateDynamicsAlphaLon.brakeMin;
     749                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMin = elementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect;
     750                 :          1 :   elementOtherVehicleStateDynamicsAlphaLon.brakeMax = elementOtherVehicleStateDynamicsAlphaLon.brakeMin;
     751                 :          1 :   elementOtherVehicleStateDynamics.alphaLon = elementOtherVehicleStateDynamicsAlphaLon;
     752                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues elementOtherVehicleStateDynamicsAlphaLat;
     753                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLatAccelMax(-1e2);
     754                 :          1 :   elementOtherVehicleStateDynamicsAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within
     755                 :            :                                                                                       // struct
     756                 :          1 :   elementOtherVehicleStateDynamicsAlphaLat.accelMax = elementOtherVehicleStateDynamicsAlphaLatAccelMax;
     757                 :          1 :   ::ad::physics::Acceleration elementOtherVehicleStateDynamicsAlphaLatBrakeMin(-1e2);
     758                 :          1 :   elementOtherVehicleStateDynamicsAlphaLat.brakeMin = elementOtherVehicleStateDynamicsAlphaLatBrakeMin;
     759                 :          1 :   elementOtherVehicleStateDynamics.alphaLat = elementOtherVehicleStateDynamicsAlphaLat;
     760                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsLateralFluctuationMargin(-1e9);
     761                 :            :   elementOtherVehicleStateDynamicsLateralFluctuationMargin
     762                 :          1 :     = ::ad::physics::Distance(0.); // set to valid value within struct
     763                 :          1 :   elementOtherVehicleStateDynamics.lateralFluctuationMargin = elementOtherVehicleStateDynamicsLateralFluctuationMargin;
     764                 :          1 :   ::ad::physics::Duration elementOtherVehicleStateDynamicsResponseTime(0.);
     765                 :            :   elementOtherVehicleStateDynamicsResponseTime
     766                 :          1 :     = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct
     767                 :          1 :   elementOtherVehicleStateDynamics.responseTime = elementOtherVehicleStateDynamicsResponseTime;
     768                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateDynamicsMaxSpeedOnAcceleration(-100.);
     769                 :          1 :   elementOtherVehicleStateDynamics.maxSpeedOnAcceleration = elementOtherVehicleStateDynamicsMaxSpeedOnAcceleration;
     770                 :          1 :   ::ad::rss::world::UnstructuredSettings elementOtherVehicleStateDynamicsUnstructuredSettings;
     771                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9);
     772                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius
     773                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius;
     774                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308);
     775                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle
     776                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle;
     777                 :          1 :   ::ad::physics::AngularAcceleration elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2);
     778                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange
     779                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange;
     780                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9);
     781                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius
     782                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius;
     783                 :          1 :   ::ad::physics::Duration elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.);
     784                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep
     785                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep;
     786                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{
     787                 :            :     std::numeric_limits<uint32_t>::min()};
     788                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps
     789                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps;
     790                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{
     791                 :            :     std::numeric_limits<uint32_t>::min()};
     792                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps
     793                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps;
     794                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{
     795                 :            :     std::numeric_limits<uint32_t>::min()};
     796                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps
     797                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps;
     798                 :          1 :   uint32_t elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{
     799                 :            :     std::numeric_limits<uint32_t>::min()};
     800                 :            :   elementOtherVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps
     801                 :          1 :     = elementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps;
     802                 :          1 :   elementOtherVehicleStateDynamics.unstructuredSettings = elementOtherVehicleStateDynamicsUnstructuredSettings;
     803                 :          1 :   elementOtherVehicleState.dynamics = elementOtherVehicleStateDynamics;
     804                 :          1 :   bool elementOtherVehicleStateHasPriority{true};
     805                 :          1 :   elementOtherVehicleState.hasPriority = elementOtherVehicleStateHasPriority;
     806                 :          1 :   bool elementOtherVehicleStateIsInCorrectLane{true};
     807                 :          1 :   elementOtherVehicleState.isInCorrectLane = elementOtherVehicleStateIsInCorrectLane;
     808                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDistanceToEnterIntersection(-1e9);
     809                 :          1 :   elementOtherVehicleStateDistanceToEnterIntersection = ::ad::physics::Distance(0.); // set to valid value within struct
     810                 :          1 :   elementOtherVehicleState.distanceToEnterIntersection = elementOtherVehicleStateDistanceToEnterIntersection;
     811                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateDistanceToLeaveIntersection(-1e9);
     812                 :          1 :   elementOtherVehicleState.distanceToLeaveIntersection = elementOtherVehicleStateDistanceToLeaveIntersection;
     813                 :          1 :   ::ad::rss::world::ObjectType elementOtherVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid);
     814                 :          1 :   elementOtherVehicleState.objectType = elementOtherVehicleStateObjectType;
     815                 :          1 :   ::ad::rss::world::ObjectState elementOtherVehicleStateObjectState;
     816                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateObjectStateYaw(-6.283185308);
     817                 :          1 :   elementOtherVehicleStateObjectState.yaw = elementOtherVehicleStateObjectStateYaw;
     818                 :          1 :   ::ad::physics::Dimension2D elementOtherVehicleStateObjectStateDimension;
     819                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateDimensionLength(-1e9);
     820                 :          1 :   elementOtherVehicleStateObjectStateDimension.length = elementOtherVehicleStateObjectStateDimensionLength;
     821                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateDimensionWidth(-1e9);
     822                 :          1 :   elementOtherVehicleStateObjectStateDimension.width = elementOtherVehicleStateObjectStateDimensionWidth;
     823                 :          1 :   elementOtherVehicleStateObjectState.dimension = elementOtherVehicleStateObjectStateDimension;
     824                 :          1 :   ::ad::physics::AngularVelocity elementOtherVehicleStateObjectStateYawRate(-100.);
     825                 :          1 :   elementOtherVehicleStateObjectState.yawRate = elementOtherVehicleStateObjectStateYawRate;
     826                 :          1 :   ::ad::physics::Distance2D elementOtherVehicleStateObjectStateCenterPoint;
     827                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateCenterPointX(-1e9);
     828                 :          1 :   elementOtherVehicleStateObjectStateCenterPoint.x = elementOtherVehicleStateObjectStateCenterPointX;
     829                 :          1 :   ::ad::physics::Distance elementOtherVehicleStateObjectStateCenterPointY(-1e9);
     830                 :          1 :   elementOtherVehicleStateObjectStateCenterPoint.y = elementOtherVehicleStateObjectStateCenterPointY;
     831                 :          1 :   elementOtherVehicleStateObjectState.centerPoint = elementOtherVehicleStateObjectStateCenterPoint;
     832                 :          1 :   ::ad::physics::Speed elementOtherVehicleStateObjectStateSpeed(-100.);
     833                 :          1 :   elementOtherVehicleStateObjectState.speed = elementOtherVehicleStateObjectStateSpeed;
     834                 :          1 :   ::ad::physics::Angle elementOtherVehicleStateObjectStateSteeringAngle(-6.283185308);
     835                 :          1 :   elementOtherVehicleStateObjectState.steeringAngle = elementOtherVehicleStateObjectStateSteeringAngle;
     836                 :          1 :   elementOtherVehicleState.objectState = elementOtherVehicleStateObjectState;
     837                 :          1 :   elementOtherVehicleState.distanceToLeaveIntersection = elementOtherVehicleState.distanceToEnterIntersection;
     838                 :          1 :   elementOtherVehicleState.distanceToEnterIntersection = elementOtherVehicleState.distanceToLeaveIntersection;
     839                 :          1 :   element.otherVehicleState = elementOtherVehicleState;
     840                 :          1 :   ::ad::rss::situation::RelativePosition elementRelativePosition;
     841                 :          1 :   ::ad::rss::situation::LongitudinalRelativePosition elementRelativePositionLongitudinalPosition(
     842                 :            :     ::ad::rss::situation::LongitudinalRelativePosition::InFront);
     843                 :          1 :   elementRelativePosition.longitudinalPosition = elementRelativePositionLongitudinalPosition;
     844                 :          1 :   ::ad::physics::Distance elementRelativePositionLongitudinalDistance(-1e9);
     845                 :          1 :   elementRelativePosition.longitudinalDistance = elementRelativePositionLongitudinalDistance;
     846                 :          1 :   ::ad::rss::situation::LateralRelativePosition elementRelativePositionLateralPosition(
     847                 :            :     ::ad::rss::situation::LateralRelativePosition::AtLeft);
     848                 :          1 :   elementRelativePosition.lateralPosition = elementRelativePositionLateralPosition;
     849                 :          1 :   ::ad::physics::Distance elementRelativePositionLateralDistance(-1e9);
     850                 :          1 :   elementRelativePosition.lateralDistance = elementRelativePositionLateralDistance;
     851                 :          1 :   element.relativePosition = elementRelativePosition;
     852         [ +  - ]:          1 :   value.push_back(element);
     853   [ +  -  -  +  :          1 :   ASSERT_TRUE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     854                 :            : }
     855                 :            : 
     856                 :          2 : TEST(SituationVectorValidInputRangeTests, testValidInputRangeElementInvalid)
     857                 :            : {
     858                 :          1 :   ::ad::rss::situation::SituationVector value;
     859                 :          1 :   ::ad::rss::situation::Situation element;
     860                 :          1 :   ::ad::rss::situation::SituationType elementSituationType(static_cast<::ad::rss::situation::SituationType>(-1));
     861                 :          1 :   element.situationType = elementSituationType;
     862         [ +  - ]:          1 :   value.push_back(element);
     863   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     864                 :            : }

Generated by: LCOV version 1.14