LCOV - code coverage report
Current view: top level - tests/generated/ad/rss/state - RssStateValidInputRangeTests.cpp (source / functions) Hit Total Coverage
Test: ad_rss Lines: 1411 1411 100.0 %
Date: 2024-12-17 12:06:18 Functions: 22 22 100.0 %
Branches: 90 268 33.6 %

           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/state/RssStateValidInputRange.hpp"
      20                 :            : 
      21                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRange)
      22                 :            : {
      23                 :          1 :   ::ad::rss::state::RssState value;
      24                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
      25                 :          1 :   value.objectId = valueObjectId;
      26                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
      27                 :          1 :   value.situationId = valueSituationId;
      28                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
      29                 :          1 :   bool valueLongitudinalStateIsSafe{true};
      30                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
      31                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
      32                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
      33                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
      34                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
      35                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
      36                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
      37                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
      38                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
      39                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
      40                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
      41                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
      42                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
      43                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
      44                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
      45                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
      46                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
      47                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
      48                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
      49                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
      50                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
      51                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
      52                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
      53                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
      54                 :            :     ::ad::rss::state::RssStateEvaluator::None);
      55                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
      56                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
      57                 :          1 :   value.longitudinalState = valueLongitudinalState;
      58                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
      59                 :          1 :   bool valueLateralStateRightIsSafe{true};
      60                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
      61                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
      62                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
      63                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
      64                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
      65                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
      66                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
      67                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
      68                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
      69                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
      70                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
      71                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
      72                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
      73                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
      74                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
      75                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
      76                 :            :     ::ad::rss::state::RssStateEvaluator::None);
      77                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
      78                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
      79                 :          1 :   value.lateralStateRight = valueLateralStateRight;
      80                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
      81                 :          1 :   bool valueLateralStateLeftIsSafe{true};
      82                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
      83                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
      84                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
      85                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
      86                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
      87                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
      88                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
      89                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
      90                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
      91                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
      92                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
      93                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
      94                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
      95                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
      96                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
      97                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
      98                 :            :     ::ad::rss::state::RssStateEvaluator::None);
      99                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     100                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     101                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     102                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     103                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     104                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     105                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     106                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     107                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     108                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     109                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     110                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     111                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     112                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     113                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     114                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     115                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     116                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     117                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     118                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     119                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     120                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     121                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     122                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     123         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     124                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
     125                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
     126         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     127                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     128                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
     129                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
     130                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
     131                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
     132                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
     133                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
     134                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
     135         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
     136                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
     137                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
     138         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     139         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
     140                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
     141                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
     142                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     143                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
     144                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
     145                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
     146                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
     147                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
     148                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
     149                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
     150                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
     151                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
     152                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
     153                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
     154                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
     155         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
     156                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
     157                 :          1 :   value.situationType = valueSituationType;
     158   [ +  -  -  +  :          1 :   ASSERT_TRUE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     159                 :            : }
     160                 :            : 
     161                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeLongitudinalStateTooSmall)
     162                 :            : {
     163                 :          1 :   ::ad::rss::state::RssState value;
     164                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     165                 :          1 :   value.objectId = valueObjectId;
     166                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     167                 :          1 :   value.situationId = valueSituationId;
     168                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
     169                 :          1 :   bool valueLongitudinalStateIsSafe{true};
     170                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
     171                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
     172                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
     173                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
     174                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
     175                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     176                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
     177                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
     178                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
     179                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
     180                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
     181                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
     182                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
     183                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
     184                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
     185                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
     186                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
     187                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
     188                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
     189                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
     190                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
     191                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
     192                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
     193                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
     194                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     195                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
     196                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
     197                 :          1 :   value.longitudinalState = valueLongitudinalState;
     198                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
     199                 :          1 :   bool valueLateralStateRightIsSafe{true};
     200                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
     201                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
     202                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
     203                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
     204                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
     205                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     206                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
     207                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
     208                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
     209                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
     210                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
     211                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
     212                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
     213                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
     214                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
     215                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
     216                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     217                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
     218                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
     219                 :          1 :   value.lateralStateRight = valueLateralStateRight;
     220                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
     221                 :          1 :   bool valueLateralStateLeftIsSafe{true};
     222                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
     223                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
     224                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
     225                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
     226                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
     227                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     228                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
     229                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
     230                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
     231                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
     232                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
     233                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
     234                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
     235                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
     236                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
     237                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
     238                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     239                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     240                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     241                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     242                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     243                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     244                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     245                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     246                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     247                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     248                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     249                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     250                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     251                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     252                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     253                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     254                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     255                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     256                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     257                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     258                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     259                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     260                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     261                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     262                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     263         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     264                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
     265                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
     266         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     267                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     268                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
     269                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
     270                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
     271                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
     272                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
     273                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
     274                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
     275         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
     276                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
     277                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
     278         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     279         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
     280                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
     281                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
     282                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     283                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
     284                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
     285                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
     286                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
     287                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
     288                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
     289                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
     290                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
     291                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
     292                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
     293                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
     294                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
     295         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
     296                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
     297                 :          1 :   value.situationType = valueSituationType;
     298                 :            : 
     299                 :            :   // override member with data type value below input range minimum
     300                 :          1 :   ::ad::rss::state::LongitudinalRssState invalidInitializedMember;
     301                 :          1 :   ::ad::rss::state::LongitudinalResponse invalidInitializedMemberResponse(
     302                 :            :     static_cast<::ad::rss::state::LongitudinalResponse>(-1));
     303                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
     304                 :          1 :   value.longitudinalState = invalidInitializedMember;
     305   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     306                 :            : }
     307                 :            : 
     308                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeLongitudinalStateTooBig)
     309                 :            : {
     310                 :          1 :   ::ad::rss::state::RssState value;
     311                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     312                 :          1 :   value.objectId = valueObjectId;
     313                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     314                 :          1 :   value.situationId = valueSituationId;
     315                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
     316                 :          1 :   bool valueLongitudinalStateIsSafe{true};
     317                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
     318                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
     319                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
     320                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
     321                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
     322                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     323                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
     324                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
     325                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
     326                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
     327                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
     328                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
     329                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
     330                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
     331                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
     332                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
     333                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
     334                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
     335                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
     336                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
     337                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
     338                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
     339                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
     340                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
     341                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     342                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
     343                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
     344                 :          1 :   value.longitudinalState = valueLongitudinalState;
     345                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
     346                 :          1 :   bool valueLateralStateRightIsSafe{true};
     347                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
     348                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
     349                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
     350                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
     351                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
     352                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     353                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
     354                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
     355                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
     356                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
     357                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
     358                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
     359                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
     360                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
     361                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
     362                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
     363                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     364                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
     365                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
     366                 :          1 :   value.lateralStateRight = valueLateralStateRight;
     367                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
     368                 :          1 :   bool valueLateralStateLeftIsSafe{true};
     369                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
     370                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
     371                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
     372                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
     373                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
     374                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     375                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
     376                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
     377                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
     378                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
     379                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
     380                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
     381                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
     382                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
     383                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
     384                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
     385                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     386                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     387                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     388                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     389                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     390                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     391                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     392                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     393                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     394                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     395                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     396                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     397                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     398                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     399                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     400                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     401                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     402                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     403                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     404                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     405                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     406                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     407                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     408                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     409                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     410         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     411                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
     412                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
     413         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     414                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     415                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
     416                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
     417                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
     418                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
     419                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
     420                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
     421                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
     422         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
     423                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
     424                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
     425         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     426         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
     427                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
     428                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
     429                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     430                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
     431                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
     432                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
     433                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
     434                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
     435                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
     436                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
     437                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
     438                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
     439                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
     440                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
     441                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
     442         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
     443                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
     444                 :          1 :   value.situationType = valueSituationType;
     445                 :            : 
     446                 :            :   // override member with data type value above input range maximum
     447                 :          1 :   ::ad::rss::state::LongitudinalRssState invalidInitializedMember;
     448                 :          1 :   ::ad::rss::state::LongitudinalResponse invalidInitializedMemberResponse(
     449                 :            :     static_cast<::ad::rss::state::LongitudinalResponse>(-1));
     450                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
     451                 :          1 :   value.longitudinalState = invalidInitializedMember;
     452   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     453                 :            : }
     454                 :            : 
     455                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeLateralStateRightTooSmall)
     456                 :            : {
     457                 :          1 :   ::ad::rss::state::RssState value;
     458                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     459                 :          1 :   value.objectId = valueObjectId;
     460                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     461                 :          1 :   value.situationId = valueSituationId;
     462                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
     463                 :          1 :   bool valueLongitudinalStateIsSafe{true};
     464                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
     465                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
     466                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
     467                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
     468                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
     469                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     470                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
     471                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
     472                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
     473                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
     474                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
     475                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
     476                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
     477                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
     478                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
     479                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
     480                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
     481                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
     482                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
     483                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
     484                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
     485                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
     486                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
     487                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
     488                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     489                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
     490                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
     491                 :          1 :   value.longitudinalState = valueLongitudinalState;
     492                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
     493                 :          1 :   bool valueLateralStateRightIsSafe{true};
     494                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
     495                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
     496                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
     497                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
     498                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
     499                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     500                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
     501                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
     502                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
     503                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
     504                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
     505                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
     506                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
     507                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
     508                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
     509                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
     510                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     511                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
     512                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
     513                 :          1 :   value.lateralStateRight = valueLateralStateRight;
     514                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
     515                 :          1 :   bool valueLateralStateLeftIsSafe{true};
     516                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
     517                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
     518                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
     519                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
     520                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
     521                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     522                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
     523                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
     524                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
     525                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
     526                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
     527                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
     528                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
     529                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
     530                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
     531                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
     532                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     533                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     534                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     535                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     536                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     537                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     538                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     539                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     540                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     541                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     542                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     543                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     544                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     545                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     546                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     547                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     548                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     549                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     550                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     551                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     552                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     553                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     554                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     555                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     556                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     557         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     558                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
     559                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
     560         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     561                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     562                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
     563                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
     564                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
     565                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
     566                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
     567                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
     568                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
     569         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
     570                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
     571                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
     572         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     573         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
     574                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
     575                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
     576                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     577                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
     578                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
     579                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
     580                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
     581                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
     582                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
     583                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
     584                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
     585                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
     586                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
     587                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
     588                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
     589         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
     590                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
     591                 :          1 :   value.situationType = valueSituationType;
     592                 :            : 
     593                 :            :   // override member with data type value below input range minimum
     594                 :          1 :   ::ad::rss::state::LateralRssState invalidInitializedMember;
     595                 :          1 :   ::ad::rss::state::LateralResponse invalidInitializedMemberResponse(
     596                 :            :     static_cast<::ad::rss::state::LateralResponse>(-1));
     597                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
     598                 :          1 :   value.lateralStateRight = invalidInitializedMember;
     599   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     600                 :            : }
     601                 :            : 
     602                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeLateralStateRightTooBig)
     603                 :            : {
     604                 :          1 :   ::ad::rss::state::RssState value;
     605                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     606                 :          1 :   value.objectId = valueObjectId;
     607                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     608                 :          1 :   value.situationId = valueSituationId;
     609                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
     610                 :          1 :   bool valueLongitudinalStateIsSafe{true};
     611                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
     612                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
     613                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
     614                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
     615                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
     616                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     617                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
     618                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
     619                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
     620                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
     621                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
     622                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
     623                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
     624                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
     625                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
     626                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
     627                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
     628                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
     629                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
     630                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
     631                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
     632                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
     633                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
     634                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
     635                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     636                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
     637                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
     638                 :          1 :   value.longitudinalState = valueLongitudinalState;
     639                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
     640                 :          1 :   bool valueLateralStateRightIsSafe{true};
     641                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
     642                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
     643                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
     644                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
     645                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
     646                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     647                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
     648                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
     649                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
     650                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
     651                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
     652                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
     653                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
     654                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
     655                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
     656                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
     657                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     658                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
     659                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
     660                 :          1 :   value.lateralStateRight = valueLateralStateRight;
     661                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
     662                 :          1 :   bool valueLateralStateLeftIsSafe{true};
     663                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
     664                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
     665                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
     666                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
     667                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
     668                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     669                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
     670                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
     671                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
     672                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
     673                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
     674                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
     675                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
     676                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
     677                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
     678                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
     679                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     680                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     681                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     682                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     683                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     684                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     685                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     686                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     687                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     688                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     689                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     690                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     691                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     692                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     693                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     694                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     695                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     696                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     697                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     698                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     699                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     700                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     701                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     702                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     703                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     704         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     705                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
     706                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
     707         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     708                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     709                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
     710                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
     711                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
     712                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
     713                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
     714                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
     715                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
     716         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
     717                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
     718                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
     719         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     720         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
     721                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
     722                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
     723                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     724                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
     725                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
     726                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
     727                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
     728                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
     729                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
     730                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
     731                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
     732                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
     733                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
     734                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
     735                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
     736         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
     737                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
     738                 :          1 :   value.situationType = valueSituationType;
     739                 :            : 
     740                 :            :   // override member with data type value above input range maximum
     741                 :          1 :   ::ad::rss::state::LateralRssState invalidInitializedMember;
     742                 :          1 :   ::ad::rss::state::LateralResponse invalidInitializedMemberResponse(
     743                 :            :     static_cast<::ad::rss::state::LateralResponse>(-1));
     744                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
     745                 :          1 :   value.lateralStateRight = invalidInitializedMember;
     746   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     747                 :            : }
     748                 :            : 
     749                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeLateralStateLeftTooSmall)
     750                 :            : {
     751                 :          1 :   ::ad::rss::state::RssState value;
     752                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     753                 :          1 :   value.objectId = valueObjectId;
     754                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     755                 :          1 :   value.situationId = valueSituationId;
     756                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
     757                 :          1 :   bool valueLongitudinalStateIsSafe{true};
     758                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
     759                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
     760                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
     761                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
     762                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
     763                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     764                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
     765                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
     766                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
     767                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
     768                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
     769                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
     770                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
     771                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
     772                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
     773                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
     774                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
     775                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
     776                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
     777                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
     778                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
     779                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
     780                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
     781                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
     782                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     783                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
     784                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
     785                 :          1 :   value.longitudinalState = valueLongitudinalState;
     786                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
     787                 :          1 :   bool valueLateralStateRightIsSafe{true};
     788                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
     789                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
     790                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
     791                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
     792                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
     793                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     794                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
     795                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
     796                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
     797                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
     798                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
     799                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
     800                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
     801                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
     802                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
     803                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
     804                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     805                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
     806                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
     807                 :          1 :   value.lateralStateRight = valueLateralStateRight;
     808                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
     809                 :          1 :   bool valueLateralStateLeftIsSafe{true};
     810                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
     811                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
     812                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
     813                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
     814                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
     815                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     816                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
     817                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
     818                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
     819                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
     820                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
     821                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
     822                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
     823                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
     824                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
     825                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
     826                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     827                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     828                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     829                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     830                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     831                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     832                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     833                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     834                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     835                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     836                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     837                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     838                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     839                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     840                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     841                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     842                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     843                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     844                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     845                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     846                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     847                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     848                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     849                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     850                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     851         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     852                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
     853                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
     854         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     855                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     856                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
     857                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
     858                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
     859                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
     860                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
     861                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
     862                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
     863         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
     864                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
     865                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
     866         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
     867         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
     868                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
     869                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
     870                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     871                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
     872                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
     873                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
     874                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
     875                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
     876                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
     877                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
     878                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
     879                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
     880                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
     881                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
     882                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
     883         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
     884                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
     885                 :          1 :   value.situationType = valueSituationType;
     886                 :            : 
     887                 :            :   // override member with data type value below input range minimum
     888                 :          1 :   ::ad::rss::state::LateralRssState invalidInitializedMember;
     889                 :          1 :   ::ad::rss::state::LateralResponse invalidInitializedMemberResponse(
     890                 :            :     static_cast<::ad::rss::state::LateralResponse>(-1));
     891                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
     892                 :          1 :   value.lateralStateLeft = invalidInitializedMember;
     893   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
     894                 :            : }
     895                 :            : 
     896                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeLateralStateLeftTooBig)
     897                 :            : {
     898                 :          1 :   ::ad::rss::state::RssState value;
     899                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
     900                 :          1 :   value.objectId = valueObjectId;
     901                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
     902                 :          1 :   value.situationId = valueSituationId;
     903                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
     904                 :          1 :   bool valueLongitudinalStateIsSafe{true};
     905                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
     906                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
     907                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
     908                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
     909                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
     910                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     911                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
     912                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
     913                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
     914                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
     915                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
     916                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
     917                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
     918                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
     919                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
     920                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
     921                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
     922                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
     923                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
     924                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
     925                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
     926                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
     927                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
     928                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
     929                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     930                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
     931                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
     932                 :          1 :   value.longitudinalState = valueLongitudinalState;
     933                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
     934                 :          1 :   bool valueLateralStateRightIsSafe{true};
     935                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
     936                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
     937                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
     938                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
     939                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
     940                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     941                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
     942                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
     943                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
     944                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
     945                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
     946                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
     947                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
     948                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
     949                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
     950                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
     951                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     952                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
     953                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
     954                 :          1 :   value.lateralStateRight = valueLateralStateRight;
     955                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
     956                 :          1 :   bool valueLateralStateLeftIsSafe{true};
     957                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
     958                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
     959                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
     960                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
     961                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
     962                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
     963                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
     964                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
     965                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
     966                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
     967                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
     968                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
     969                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
     970                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
     971                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
     972                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
     973                 :            :     ::ad::rss::state::RssStateEvaluator::None);
     974                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
     975                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
     976                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
     977                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
     978                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
     979                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
     980                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
     981                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
     982                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
     983                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
     984                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
     985                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
     986                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
     987                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
     988                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
     989                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
     990                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
     991                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
     992                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
     993                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
     994                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
     995                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
     996                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
     997                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
     998         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
     999                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
    1000                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
    1001         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1002                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1003                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
    1004                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
    1005                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
    1006                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
    1007                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
    1008                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
    1009                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
    1010         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
    1011                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
    1012                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
    1013         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1014         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
    1015                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
    1016                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
    1017                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1018                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
    1019                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
    1020                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
    1021                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
    1022                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
    1023                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
    1024                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
    1025                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
    1026                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1027                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
    1028                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1029                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
    1030         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
    1031                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
    1032                 :          1 :   value.situationType = valueSituationType;
    1033                 :            : 
    1034                 :            :   // override member with data type value above input range maximum
    1035                 :          1 :   ::ad::rss::state::LateralRssState invalidInitializedMember;
    1036                 :          1 :   ::ad::rss::state::LateralResponse invalidInitializedMemberResponse(
    1037                 :            :     static_cast<::ad::rss::state::LateralResponse>(-1));
    1038                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
    1039                 :          1 :   value.lateralStateLeft = invalidInitializedMember;
    1040   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
    1041                 :            : }
    1042                 :            : 
    1043                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeUnstructuredSceneStateTooSmall)
    1044                 :            : {
    1045                 :          1 :   ::ad::rss::state::RssState value;
    1046                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
    1047                 :          1 :   value.objectId = valueObjectId;
    1048                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
    1049                 :          1 :   value.situationId = valueSituationId;
    1050                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
    1051                 :          1 :   bool valueLongitudinalStateIsSafe{true};
    1052                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
    1053                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
    1054                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
    1055                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
    1056                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
    1057                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1058                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
    1059                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
    1060                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
    1061                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
    1062                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
    1063                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
    1064                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
    1065                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
    1066                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
    1067                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
    1068                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
    1069                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
    1070                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
    1071                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
    1072                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
    1073                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
    1074                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
    1075                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
    1076                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1077                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
    1078                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
    1079                 :          1 :   value.longitudinalState = valueLongitudinalState;
    1080                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
    1081                 :          1 :   bool valueLateralStateRightIsSafe{true};
    1082                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
    1083                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
    1084                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
    1085                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
    1086                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
    1087                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1088                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
    1089                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
    1090                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
    1091                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
    1092                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
    1093                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
    1094                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
    1095                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
    1096                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
    1097                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
    1098                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1099                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
    1100                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
    1101                 :          1 :   value.lateralStateRight = valueLateralStateRight;
    1102                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
    1103                 :          1 :   bool valueLateralStateLeftIsSafe{true};
    1104                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
    1105                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
    1106                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
    1107                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
    1108                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
    1109                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1110                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
    1111                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
    1112                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
    1113                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
    1114                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
    1115                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
    1116                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
    1117                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
    1118                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
    1119                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
    1120                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1121                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
    1122                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
    1123                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
    1124                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
    1125                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
    1126                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
    1127                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
    1128                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
    1129                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
    1130                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
    1131                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
    1132                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
    1133                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
    1134                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
    1135                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
    1136                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
    1137                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1138                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
    1139                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
    1140                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
    1141                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
    1142                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
    1143                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
    1144                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
    1145         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
    1146                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
    1147                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
    1148         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1149                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1150                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
    1151                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
    1152                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
    1153                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
    1154                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
    1155                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
    1156                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
    1157         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
    1158                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
    1159                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
    1160         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1161         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
    1162                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
    1163                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
    1164                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1165                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
    1166                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
    1167                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
    1168                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
    1169                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
    1170                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
    1171                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
    1172                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
    1173                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1174                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
    1175                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1176                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
    1177         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
    1178                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
    1179                 :          1 :   value.situationType = valueSituationType;
    1180                 :            : 
    1181                 :            :   // override member with data type value below input range minimum
    1182                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState invalidInitializedMember;
    1183                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse invalidInitializedMemberResponse(
    1184                 :            :     static_cast<::ad::rss::state::UnstructuredSceneResponse>(-1));
    1185                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
    1186         [ +  - ]:          1 :   value.unstructuredSceneState = invalidInitializedMember;
    1187   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
    1188                 :            : }
    1189                 :            : 
    1190                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeUnstructuredSceneStateTooBig)
    1191                 :            : {
    1192                 :          1 :   ::ad::rss::state::RssState value;
    1193                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
    1194                 :          1 :   value.objectId = valueObjectId;
    1195                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
    1196                 :          1 :   value.situationId = valueSituationId;
    1197                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
    1198                 :          1 :   bool valueLongitudinalStateIsSafe{true};
    1199                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
    1200                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
    1201                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
    1202                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
    1203                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
    1204                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1205                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
    1206                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
    1207                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
    1208                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
    1209                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
    1210                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
    1211                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
    1212                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
    1213                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
    1214                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
    1215                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
    1216                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
    1217                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
    1218                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
    1219                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
    1220                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
    1221                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
    1222                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
    1223                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1224                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
    1225                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
    1226                 :          1 :   value.longitudinalState = valueLongitudinalState;
    1227                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
    1228                 :          1 :   bool valueLateralStateRightIsSafe{true};
    1229                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
    1230                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
    1231                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
    1232                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
    1233                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
    1234                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1235                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
    1236                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
    1237                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
    1238                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
    1239                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
    1240                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
    1241                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
    1242                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
    1243                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
    1244                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
    1245                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1246                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
    1247                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
    1248                 :          1 :   value.lateralStateRight = valueLateralStateRight;
    1249                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
    1250                 :          1 :   bool valueLateralStateLeftIsSafe{true};
    1251                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
    1252                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
    1253                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
    1254                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
    1255                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
    1256                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1257                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
    1258                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
    1259                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
    1260                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
    1261                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
    1262                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
    1263                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
    1264                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
    1265                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
    1266                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
    1267                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1268                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
    1269                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
    1270                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
    1271                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
    1272                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
    1273                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
    1274                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
    1275                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
    1276                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
    1277                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
    1278                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
    1279                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
    1280                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
    1281                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
    1282                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
    1283                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
    1284                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1285                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
    1286                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
    1287                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
    1288                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
    1289                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
    1290                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
    1291                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
    1292         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
    1293                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
    1294                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
    1295         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1296                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1297                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
    1298                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
    1299                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
    1300                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
    1301                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
    1302                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
    1303                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
    1304         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
    1305                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
    1306                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
    1307         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1308         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
    1309                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
    1310                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
    1311                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1312                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
    1313                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
    1314                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
    1315                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
    1316                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
    1317                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
    1318                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
    1319                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
    1320                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1321                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
    1322                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1323                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
    1324         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
    1325                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
    1326                 :          1 :   value.situationType = valueSituationType;
    1327                 :            : 
    1328                 :            :   // override member with data type value above input range maximum
    1329                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState invalidInitializedMember;
    1330                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse invalidInitializedMemberResponse(
    1331                 :            :     static_cast<::ad::rss::state::UnstructuredSceneResponse>(-1));
    1332                 :          1 :   invalidInitializedMember.response = invalidInitializedMemberResponse;
    1333         [ +  - ]:          1 :   value.unstructuredSceneState = invalidInitializedMember;
    1334   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
    1335                 :            : }
    1336                 :            : 
    1337                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeSituationTypeTooSmall)
    1338                 :            : {
    1339                 :          1 :   ::ad::rss::state::RssState value;
    1340                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
    1341                 :          1 :   value.objectId = valueObjectId;
    1342                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
    1343                 :          1 :   value.situationId = valueSituationId;
    1344                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
    1345                 :          1 :   bool valueLongitudinalStateIsSafe{true};
    1346                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
    1347                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
    1348                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
    1349                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
    1350                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
    1351                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1352                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
    1353                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
    1354                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
    1355                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
    1356                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
    1357                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
    1358                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
    1359                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
    1360                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
    1361                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
    1362                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
    1363                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
    1364                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
    1365                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
    1366                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
    1367                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
    1368                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
    1369                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
    1370                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1371                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
    1372                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
    1373                 :          1 :   value.longitudinalState = valueLongitudinalState;
    1374                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
    1375                 :          1 :   bool valueLateralStateRightIsSafe{true};
    1376                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
    1377                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
    1378                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
    1379                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
    1380                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
    1381                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1382                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
    1383                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
    1384                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
    1385                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
    1386                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
    1387                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
    1388                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
    1389                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
    1390                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
    1391                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
    1392                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1393                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
    1394                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
    1395                 :          1 :   value.lateralStateRight = valueLateralStateRight;
    1396                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
    1397                 :          1 :   bool valueLateralStateLeftIsSafe{true};
    1398                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
    1399                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
    1400                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
    1401                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
    1402                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
    1403                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1404                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
    1405                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
    1406                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
    1407                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
    1408                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
    1409                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
    1410                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
    1411                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
    1412                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
    1413                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
    1414                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1415                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
    1416                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
    1417                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
    1418                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
    1419                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
    1420                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
    1421                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
    1422                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
    1423                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
    1424                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
    1425                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
    1426                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
    1427                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
    1428                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
    1429                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
    1430                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
    1431                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1432                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
    1433                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
    1434                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
    1435                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
    1436                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
    1437                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
    1438                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
    1439         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
    1440                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
    1441                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
    1442         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1443                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1444                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
    1445                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
    1446                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
    1447                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
    1448                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
    1449                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
    1450                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
    1451         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
    1452                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
    1453                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
    1454         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1455         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
    1456                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
    1457                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
    1458                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1459                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
    1460                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
    1461                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
    1462                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
    1463                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
    1464                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
    1465                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
    1466                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
    1467                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1468                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
    1469                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1470                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
    1471         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
    1472                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
    1473                 :          1 :   value.situationType = valueSituationType;
    1474                 :            : 
    1475                 :            :   // override member with data type value below input range minimum
    1476                 :          1 :   ::ad::rss::situation::SituationType invalidInitializedMember(static_cast<::ad::rss::situation::SituationType>(-1));
    1477                 :          1 :   value.situationType = invalidInitializedMember;
    1478   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
    1479                 :            : }
    1480                 :            : 
    1481                 :          2 : TEST(RssStateValidInputRangeTests, testValidInputRangeSituationTypeTooBig)
    1482                 :            : {
    1483                 :          1 :   ::ad::rss::state::RssState value;
    1484                 :          1 :   ::ad::rss::world::ObjectId valueObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest());
    1485                 :          1 :   value.objectId = valueObjectId;
    1486                 :          1 :   ::ad::rss::situation::SituationId valueSituationId(std::numeric_limits<::ad::rss::situation::SituationId>::lowest());
    1487                 :          1 :   value.situationId = valueSituationId;
    1488                 :          1 :   ::ad::rss::state::LongitudinalRssState valueLongitudinalState;
    1489                 :          1 :   bool valueLongitudinalStateIsSafe{true};
    1490                 :          1 :   valueLongitudinalState.isSafe = valueLongitudinalStateIsSafe;
    1491                 :          1 :   ::ad::rss::state::LongitudinalResponse valueLongitudinalStateResponse(::ad::rss::state::LongitudinalResponse::None);
    1492                 :          1 :   valueLongitudinalState.response = valueLongitudinalStateResponse;
    1493                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueLongitudinalStateAlphaLon;
    1494                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonAccelMax(-1e2);
    1495                 :          1 :   valueLongitudinalStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1496                 :          1 :   valueLongitudinalStateAlphaLon.accelMax = valueLongitudinalStateAlphaLonAccelMax;
    1497                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMax(-1e2);
    1498                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLonBrakeMax;
    1499                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMin(-1e2);
    1500                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLonBrakeMin;
    1501                 :          1 :   ::ad::physics::Acceleration valueLongitudinalStateAlphaLonBrakeMinCorrect(-1e2);
    1502                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLonBrakeMinCorrect;
    1503                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMax;
    1504                 :          1 :   valueLongitudinalStateAlphaLon.brakeMinCorrect = valueLongitudinalStateAlphaLon.brakeMin;
    1505                 :          1 :   valueLongitudinalStateAlphaLon.brakeMin = valueLongitudinalStateAlphaLon.brakeMinCorrect;
    1506                 :          1 :   valueLongitudinalStateAlphaLon.brakeMax = valueLongitudinalStateAlphaLon.brakeMin;
    1507                 :          1 :   valueLongitudinalState.alphaLon = valueLongitudinalStateAlphaLon;
    1508                 :          1 :   ::ad::rss::state::RssStateInformation valueLongitudinalStateRssStateInformation;
    1509                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationSafeDistance(-1e9);
    1510                 :          1 :   valueLongitudinalStateRssStateInformation.safeDistance = valueLongitudinalStateRssStateInformationSafeDistance;
    1511                 :          1 :   ::ad::physics::Distance valueLongitudinalStateRssStateInformationCurrentDistance(-1e9);
    1512                 :          1 :   valueLongitudinalStateRssStateInformation.currentDistance = valueLongitudinalStateRssStateInformationCurrentDistance;
    1513                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLongitudinalStateRssStateInformationEvaluator(
    1514                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1515                 :          1 :   valueLongitudinalStateRssStateInformation.evaluator = valueLongitudinalStateRssStateInformationEvaluator;
    1516                 :          1 :   valueLongitudinalState.rssStateInformation = valueLongitudinalStateRssStateInformation;
    1517                 :          1 :   value.longitudinalState = valueLongitudinalState;
    1518                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateRight;
    1519                 :          1 :   bool valueLateralStateRightIsSafe{true};
    1520                 :          1 :   valueLateralStateRight.isSafe = valueLateralStateRightIsSafe;
    1521                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateRightResponse(::ad::rss::state::LateralResponse::None);
    1522                 :          1 :   valueLateralStateRight.response = valueLateralStateRightResponse;
    1523                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateRightAlphaLat;
    1524                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatAccelMax(-1e2);
    1525                 :          1 :   valueLateralStateRightAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1526                 :          1 :   valueLateralStateRightAlphaLat.accelMax = valueLateralStateRightAlphaLatAccelMax;
    1527                 :          1 :   ::ad::physics::Acceleration valueLateralStateRightAlphaLatBrakeMin(-1e2);
    1528                 :          1 :   valueLateralStateRightAlphaLat.brakeMin = valueLateralStateRightAlphaLatBrakeMin;
    1529                 :          1 :   valueLateralStateRight.alphaLat = valueLateralStateRightAlphaLat;
    1530                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateRightRssStateInformation;
    1531                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationSafeDistance(-1e9);
    1532                 :          1 :   valueLateralStateRightRssStateInformation.safeDistance = valueLateralStateRightRssStateInformationSafeDistance;
    1533                 :          1 :   ::ad::physics::Distance valueLateralStateRightRssStateInformationCurrentDistance(-1e9);
    1534                 :          1 :   valueLateralStateRightRssStateInformation.currentDistance = valueLateralStateRightRssStateInformationCurrentDistance;
    1535                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateRightRssStateInformationEvaluator(
    1536                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1537                 :          1 :   valueLateralStateRightRssStateInformation.evaluator = valueLateralStateRightRssStateInformationEvaluator;
    1538                 :          1 :   valueLateralStateRight.rssStateInformation = valueLateralStateRightRssStateInformation;
    1539                 :          1 :   value.lateralStateRight = valueLateralStateRight;
    1540                 :          1 :   ::ad::rss::state::LateralRssState valueLateralStateLeft;
    1541                 :          1 :   bool valueLateralStateLeftIsSafe{true};
    1542                 :          1 :   valueLateralStateLeft.isSafe = valueLateralStateLeftIsSafe;
    1543                 :          1 :   ::ad::rss::state::LateralResponse valueLateralStateLeftResponse(::ad::rss::state::LateralResponse::None);
    1544                 :          1 :   valueLateralStateLeft.response = valueLateralStateLeftResponse;
    1545                 :          1 :   ::ad::rss::world::LateralRssAccelerationValues valueLateralStateLeftAlphaLat;
    1546                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatAccelMax(-1e2);
    1547                 :          1 :   valueLateralStateLeftAlphaLatAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1548                 :          1 :   valueLateralStateLeftAlphaLat.accelMax = valueLateralStateLeftAlphaLatAccelMax;
    1549                 :          1 :   ::ad::physics::Acceleration valueLateralStateLeftAlphaLatBrakeMin(-1e2);
    1550                 :          1 :   valueLateralStateLeftAlphaLat.brakeMin = valueLateralStateLeftAlphaLatBrakeMin;
    1551                 :          1 :   valueLateralStateLeft.alphaLat = valueLateralStateLeftAlphaLat;
    1552                 :          1 :   ::ad::rss::state::RssStateInformation valueLateralStateLeftRssStateInformation;
    1553                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationSafeDistance(-1e9);
    1554                 :          1 :   valueLateralStateLeftRssStateInformation.safeDistance = valueLateralStateLeftRssStateInformationSafeDistance;
    1555                 :          1 :   ::ad::physics::Distance valueLateralStateLeftRssStateInformationCurrentDistance(-1e9);
    1556                 :          1 :   valueLateralStateLeftRssStateInformation.currentDistance = valueLateralStateLeftRssStateInformationCurrentDistance;
    1557                 :          1 :   ::ad::rss::state::RssStateEvaluator valueLateralStateLeftRssStateInformationEvaluator(
    1558                 :            :     ::ad::rss::state::RssStateEvaluator::None);
    1559                 :          1 :   valueLateralStateLeftRssStateInformation.evaluator = valueLateralStateLeftRssStateInformationEvaluator;
    1560                 :          1 :   valueLateralStateLeft.rssStateInformation = valueLateralStateLeftRssStateInformation;
    1561                 :          1 :   value.lateralStateLeft = valueLateralStateLeft;
    1562                 :          1 :   ::ad::rss::state::UnstructuredSceneRssState valueUnstructuredSceneState;
    1563                 :          1 :   bool valueUnstructuredSceneStateIsSafe{true};
    1564                 :          1 :   valueUnstructuredSceneState.isSafe = valueUnstructuredSceneStateIsSafe;
    1565                 :          1 :   ::ad::rss::state::UnstructuredSceneResponse valueUnstructuredSceneStateResponse(
    1566                 :            :     ::ad::rss::state::UnstructuredSceneResponse::None);
    1567                 :          1 :   valueUnstructuredSceneState.response = valueUnstructuredSceneStateResponse;
    1568                 :          1 :   ::ad::rss::state::HeadingRange valueUnstructuredSceneStateHeadingRange;
    1569                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeBegin(-6.283185308);
    1570                 :          1 :   valueUnstructuredSceneStateHeadingRange.begin = valueUnstructuredSceneStateHeadingRangeBegin;
    1571                 :          1 :   ::ad::physics::Angle valueUnstructuredSceneStateHeadingRangeEnd(-6.283185308);
    1572                 :          1 :   valueUnstructuredSceneStateHeadingRange.end = valueUnstructuredSceneStateHeadingRangeEnd;
    1573                 :          1 :   valueUnstructuredSceneState.headingRange = valueUnstructuredSceneStateHeadingRange;
    1574                 :          1 :   ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneStateRssStateInformation;
    1575                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1576                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement;
    1577                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9);
    1578                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x
    1579                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX;
    1580                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9);
    1581                 :            :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y
    1582                 :          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY;
    1583         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize(
    1584                 :            :     1, valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement);
    1585                 :            :   valueUnstructuredSceneStateRssStateInformation.brakeTrajectorySet
    1586         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationBrakeTrajectorySet;
    1587                 :          1 :   ::ad::physics::Distance2DList valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1588                 :          1 :   ::ad::physics::Distance2D valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement;
    1589                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9);
    1590                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x
    1591                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX;
    1592                 :          1 :   ::ad::physics::Distance valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9);
    1593                 :            :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y
    1594                 :          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY;
    1595         [ +  - ]:          1 :   valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize(
    1596                 :            :     1, valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement);
    1597                 :            :   valueUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet
    1598         [ +  - ]:          1 :     = valueUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet;
    1599         [ +  - ]:          1 :   valueUnstructuredSceneState.rssStateInformation = valueUnstructuredSceneStateRssStateInformation;
    1600                 :          1 :   ::ad::rss::world::LongitudinalRssAccelerationValues valueUnstructuredSceneStateAlphaLon;
    1601                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonAccelMax(-1e2);
    1602                 :          1 :   valueUnstructuredSceneStateAlphaLonAccelMax = ::ad::physics::Acceleration(0.); // set to valid value within struct
    1603                 :          1 :   valueUnstructuredSceneStateAlphaLon.accelMax = valueUnstructuredSceneStateAlphaLonAccelMax;
    1604                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMax(-1e2);
    1605                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLonBrakeMax;
    1606                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMin(-1e2);
    1607                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLonBrakeMin;
    1608                 :          1 :   ::ad::physics::Acceleration valueUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2);
    1609                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLonBrakeMinCorrect;
    1610                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMax;
    1611                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMinCorrect = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1612                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMin = valueUnstructuredSceneStateAlphaLon.brakeMinCorrect;
    1613                 :          1 :   valueUnstructuredSceneStateAlphaLon.brakeMax = valueUnstructuredSceneStateAlphaLon.brakeMin;
    1614                 :          1 :   valueUnstructuredSceneState.alphaLon = valueUnstructuredSceneStateAlphaLon;
    1615         [ +  - ]:          1 :   value.unstructuredSceneState = valueUnstructuredSceneState;
    1616                 :          1 :   ::ad::rss::situation::SituationType valueSituationType(::ad::rss::situation::SituationType::NotRelevant);
    1617                 :          1 :   value.situationType = valueSituationType;
    1618                 :            : 
    1619                 :            :   // override member with data type value above input range maximum
    1620                 :          1 :   ::ad::rss::situation::SituationType invalidInitializedMember(static_cast<::ad::rss::situation::SituationType>(-1));
    1621                 :          1 :   value.situationType = invalidInitializedMember;
    1622   [ +  -  -  +  :          1 :   ASSERT_FALSE(withinValidInputRange(value));
          -  -  -  -  -  
                -  -  - ]
    1623                 :            : }

Generated by: LCOV version 1.14