LCOV - code coverage report
Current view: top level - tests - RssSceneCreationTestEgoSouth2EastOtherSouth2North.cpp (source / functions) Hit Total Coverage
Test: ad_rss_map_integration Lines: 250 300 83.3 %
Date: 2024-04-23 14:35:59 Functions: 100 100 100.0 %
Branches: 300 600 50.0 %

           Branch data     Line data    Source code
       1                 :            : // ----------------- BEGIN LICENSE BLOCK ---------------------------------
       2                 :            : //
       3                 :            : // Copyright (C) 2019-2021 Intel Corporation
       4                 :            : //
       5                 :            : // SPDX-License-Identifier: LGPL-2.1-only
       6                 :            : //
       7                 :            : // ----------------- END LICENSE BLOCK -----------------------------------
       8                 :            : 
       9                 :            : #include "RssSceneCreationTest.hpp"
      10                 :            : 
      11                 :            : struct RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North : public RssSceneCreationTestWithRoute
      12                 :            : {
      13                 :            :   /*
      14                 :            :    *    |          |
      15                 :            :    *    |     O4   |
      16                 :            :    *    |          |
      17                 :            :    *    |     O3   |___________
      18                 :            :    *    |
      19                 :            :    *    |     O2
      20                 :            :    *    |     E2    E3   E4
      21                 :            :    *    |           ____________
      22                 :            :    *    |    E1/O1  |
      23                 :            :    *    |           |
      24                 :            :    *    |    E0/O0  |
      25                 :            :    */
      26                 :            : };
      27                 :            : 
      28                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e0_o0)
      29                 :            : {
      30   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
      31         [ +  - ]:          2 :                    locationSouthIncoming(),
      32                 :            :                    // same position
      33                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      34         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(12.2936))});
      35                 :          1 : }
      36                 :            : 
      37                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e0_o1)
      38                 :            : {
      39   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
      40         [ +  - ]:          2 :                    locationSouthEntering(),
      41                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      42         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(12.2936))});
      43                 :          1 : }
      44                 :            : 
      45                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e0_o2)
      46                 :            : {
      47   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
      48         [ +  - ]:          2 :                    locationSouth2North(),
      49                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      50         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
      51                 :          1 : }
      52                 :            : 
      53                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e0_o3)
      54                 :            : {
      55   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
      56         [ +  - ]:          2 :                    locationNorthExiting(),
      57                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      58         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
      59                 :          1 : }
      60                 :            : 
      61                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e0_o4)
      62                 :            : {
      63   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
      64         [ +  - ]:          2 :                    locationNorthOutgoing(),
      65                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      66         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
      67                 :          1 : }
      68                 :            : 
      69                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e1_o0)
      70                 :            : {
      71   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
      72         [ +  - ]:          2 :                    locationSouthIncoming(),
      73                 :            :                    // other behind, potentially following us
      74                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      75         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(12.2936))});
      76                 :          1 : }
      77                 :            : 
      78                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e1_o1)
      79                 :            : {
      80   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
      81         [ +  - ]:          2 :                    locationSouthEntering(),
      82                 :            :                    // same position
      83                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      84         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(15.27786))});
      85                 :          1 : }
      86                 :            : 
      87                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e1_o2)
      88                 :            : {
      89   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
      90         [ +  - ]:          2 :                    locationSouth2North(),
      91                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
      92         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
      93                 :          1 : }
      94                 :            : 
      95                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e1_o3)
      96                 :            : {
      97   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
      98         [ +  - ]:          2 :                    locationNorthExiting(),
      99                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     100         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     101                 :          1 : }
     102                 :            : 
     103                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e1_o4)
     104                 :            : {
     105   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
     106         [ +  - ]:          2 :                    locationNorthOutgoing(),
     107                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     108         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     109                 :          1 : }
     110                 :            : 
     111                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e2_o0)
     112                 :            : {
     113   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     114         [ +  - ]:          2 :                    locationSouthIncoming(),
     115                 :            :                    // other behind, potentially following us
     116                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     117         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(15.27786))});
     118                 :          1 : }
     119                 :            : 
     120                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e2_o1)
     121                 :            : {
     122   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     123         [ +  - ]:          2 :                    locationSouthEntering(),
     124                 :            :                    // other behind, potentially following us
     125                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     126         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(15.27786))});
     127                 :          1 : }
     128                 :            : 
     129                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e2_o2)
     130                 :            : {
     131   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     132         [ +  - ]:          2 :                    locationSouth2North(),
     133                 :            :                    // other
     134                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     135         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     136                 :          1 : }
     137                 :            : 
     138                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e2_o3)
     139                 :            : {
     140   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     141         [ +  - ]:          2 :                    locationNorthExiting(),
     142                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     143         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     144                 :          1 : }
     145                 :            : 
     146                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e2_o4)
     147                 :            : {
     148   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     149         [ +  - ]:          2 :                    locationNorthOutgoing(),
     150                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     151         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     152                 :          1 : }
     153                 :            : 
     154                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e3_o0)
     155                 :            : {
     156   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     157         [ +  - ]:          2 :                    locationSouthIncoming(),
     158                 :            :                    // other behind, potentially following us
     159                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     160         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(15.27786))});
     161                 :          1 : }
     162                 :            : 
     163                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e3_o1)
     164                 :            : {
     165   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     166         [ +  - ]:          2 :                    locationSouthEntering(),
     167                 :            :                    // other behind, potentially following us
     168                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     169         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(15.27786))});
     170                 :          1 : }
     171                 :            : 
     172                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e3_o2)
     173                 :            : {
     174   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     175         [ +  - ]:          2 :                    locationSouth2North(),
     176                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     177         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     178                 :          1 : }
     179                 :            : 
     180                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e3_o3)
     181                 :            : {
     182   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     183         [ +  - ]:          2 :                    locationNorthExiting(),
     184                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     185         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     186                 :          1 : }
     187                 :            : 
     188                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e3_o4)
     189                 :            : {
     190   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     191         [ +  - ]:          2 :                    locationNorthOutgoing(),
     192                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     193         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
     194                 :          1 : }
     195                 :            : 
     196                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e4_o0)
     197                 :            : {
     198   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     199         [ +  - ]:          2 :                    locationSouthIncoming(),
     200                 :            :                    // other behind, potentially following us
     201                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     202         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 3u, 0u, ::ad::physics::Speed(15.27786))});
     203                 :          1 : }
     204                 :            : 
     205                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e4_o1)
     206                 :            : {
     207   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     208         [ +  - ]:          2 :                    locationSouthEntering(),
     209                 :            :                    // other behind, potentially following us
     210                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     211         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(15.27786))});
     212                 :          1 : }
     213                 :            : 
     214                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e4_o2)
     215                 :            : {
     216   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     217         [ +  - ]:          2 :                    locationSouth2North(),
     218                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     219         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 1u, 0u, ::ad::physics::Speed(100.))});
     220                 :          1 : }
     221                 :            : 
     222                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e4_o3)
     223                 :            : {
     224   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     225         [ +  - ]:          2 :                    locationNorthExiting(),
     226                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     227         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 1u, 0u, ::ad::physics::Speed(100.))});
     228                 :          1 : }
     229                 :            : 
     230                 :          2 : TEST_F(RssSceneCreationTestWithRouteEgoSouth2EastOtherSouth2North, e4_o4)
     231                 :            : {
     232   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     233         [ +  - ]:          2 :                    locationNorthOutgoing(),
     234                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     235         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 1u, 0u, ::ad::physics::Speed(100.))});
     236                 :          1 : }
     237                 :            : 
     238                 :            : struct RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North : public RssSceneCreationTestWithoutRoute
     239                 :            : {
     240                 :            :   /*
     241                 :            :    *    |          |
     242                 :            :    *    |     O4   |
     243                 :            :    *    |          |
     244                 :            :    *    |     O3   |___________
     245                 :            :    *    |
     246                 :            :    *    |     O2
     247                 :            :    *    |     E2    E3   E4
     248                 :            :    *    |           ____________
     249                 :            :    *    |    E1/O1  |
     250                 :            :    *    |           |
     251                 :            :    *    |    O0     |
     252                 :            :    *    |    E0     |
     253                 :            :    */
     254                 :            : };
     255                 :            : 
     256                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e0_o0)
     257                 :            : {
     258   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
     259         [ +  - ]:          2 :                    locationSouthIncoming(),
     260                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     261         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(100.))});
     262                 :          1 : }
     263                 :            : 
     264                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e0_o1)
     265                 :            : {
     266   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
     267         [ +  - ]:          2 :                    locationSouthEntering(),
     268                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     269         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(100.))});
     270                 :          1 : }
     271                 :            : 
     272                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e0_o2)
     273                 :            : {
     274   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
     275         [ +  - ]:          2 :                    locationSouth2North(),
     276                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     277         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 3u, 0u, ::ad::physics::Speed(100.))});
     278                 :          1 : }
     279                 :            : 
     280                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e0_o3)
     281                 :            : {
     282   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
     283         [ +  - ]:          2 :                    locationNorthExiting(),
     284                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     285         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 3u, 0u, ::ad::physics::Speed(100.))});
     286                 :          1 : }
     287                 :            : 
     288                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e0_o4)
     289                 :            : {
     290   [ +  -  +  -  :          3 :   performSceneTest(locationSouthIncoming(),
             +  -  +  - ]
     291         [ +  - ]:          2 :                    locationNorthOutgoing(),
     292                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     293         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 4u, 0u, ::ad::physics::Speed(100.))});
     294                 :          1 : }
     295                 :            : 
     296                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e1_o0)
     297                 :            : {
     298   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
     299         [ +  - ]:          2 :                    locationSouthIncoming(),
     300                 :            :                    // other behind, potentially following us
     301                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     302         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(100.))});
     303                 :          1 : }
     304                 :            : 
     305                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e1_o1)
     306                 :            : {
     307   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
     308         [ +  - ]:          2 :                    locationSouthEntering(),
     309                 :            :                    // same position
     310                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     311         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(100.))});
     312                 :          1 : }
     313                 :            : 
     314                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e1_o2)
     315                 :            : {
     316   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
     317         [ +  - ]:          2 :                    locationSouth2North(),
     318                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     319         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     320                 :          1 : }
     321                 :            : 
     322                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e1_o3)
     323                 :            : {
     324   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
     325         [ +  - ]:          2 :                    locationNorthExiting(),
     326                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     327         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     328                 :          1 : }
     329                 :            : 
     330                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e1_o4)
     331                 :            : {
     332   [ +  -  +  -  :          3 :   performSceneTest(locationSouthEntering(),
             +  -  +  - ]
     333         [ +  - ]:          2 :                    locationNorthOutgoing(),
     334                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     335         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 3u, 0u, ::ad::physics::Speed(100.))});
     336                 :          1 : }
     337                 :            : 
     338                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e2_o0)
     339                 :            : {
     340   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     341         [ +  - ]:          2 :                    locationSouthIncoming(),
     342                 :            :                    // other behind, potentially following us
     343                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     344         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     345                 :          1 : }
     346                 :            : 
     347                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e2_o1)
     348                 :            : {
     349   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     350         [ +  - ]:          2 :                    locationSouthEntering(),
     351                 :            :                    // other behind, potentially following us
     352                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     353         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(100.))});
     354                 :          1 : }
     355                 :            : 
     356                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e2_o2)
     357                 :            : {
     358   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     359         [ +  - ]:          2 :                    locationSouth2North(),
     360                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     361         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     362                 :          1 : }
     363                 :            : 
     364                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e2_o3)
     365                 :            : {
     366   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     367         [ +  - ]:          2 :                    locationNorthExiting(),
     368                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     369         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     370                 :          1 : }
     371                 :            : 
     372                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e2_o4)
     373                 :            : {
     374   [ +  -  +  -  :          3 :   performSceneTest(locationSouth2East(),
             +  -  +  - ]
     375         [ +  - ]:          2 :                    locationNorthOutgoing(),
     376                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     377         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 3u, 0u, ::ad::physics::Speed(100.))});
     378                 :          1 : }
     379                 :            : 
     380                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e3_o0)
     381                 :            : {
     382   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     383         [ +  - ]:          2 :                    locationSouthIncoming(),
     384                 :            :                    // other behind, potentially following us
     385                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     386         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     387                 :          1 : }
     388                 :            : 
     389                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e3_o1)
     390                 :            : {
     391   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     392         [ +  - ]:          2 :                    locationSouthEntering(),
     393                 :            :                    // other behind, potentially following us
     394                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     395         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 1u, 0u, ::ad::physics::Speed(100.))});
     396                 :          1 : }
     397                 :            : 
     398                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e3_o2)
     399                 :            : {
     400   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     401         [ +  - ]:          2 :                    locationSouth2North(),
     402                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     403         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 0u, 0u, ::ad::physics::Speed(100.))});
     404                 :          1 : }
     405                 :            : 
     406                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e3_o3)
     407                 :            : {
     408   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     409         [ +  - ]:          2 :                    locationNorthExiting(),
     410                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     411         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 0u, 0u, ::ad::physics::Speed(100.))});
     412                 :          1 : }
     413                 :            : 
     414                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e3_o4)
     415                 :            : {
     416   [ +  -  +  -  :          3 :   performSceneTest(locationEastExiting(),
             +  -  +  - ]
     417         [ +  - ]:          2 :                    locationNorthOutgoing(),
     418                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     419         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 0u, 0u, ::ad::physics::Speed(100.))});
     420                 :          1 : }
     421                 :            : 
     422                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e4_o0)
     423                 :            : {
     424   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     425         [ +  - ]:          2 :                    locationSouthIncoming(),
     426                 :            :                    // other behind, potentially following us
     427                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     428         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 3u, 0u, ::ad::physics::Speed(100.))});
     429                 :          1 : }
     430                 :            : 
     431                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e4_o1)
     432                 :            : {
     433   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     434         [ +  - ]:          2 :                    locationSouthEntering(),
     435                 :            :                    // other behind, potentially following us
     436                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     437         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::SameDirection, 2u, 0u, ::ad::physics::Speed(100.))});
     438                 :          1 : }
     439                 :            : 
     440                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e4_o2)
     441                 :            : {
     442   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     443         [ +  - ]:          2 :                    locationSouth2North(),
     444                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     445         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 0u, 0u, ::ad::physics::Speed(100.))});
     446                 :          1 : }
     447                 :            : 
     448                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e4_o3)
     449                 :            : {
     450   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     451         [ +  - ]:          2 :                    locationNorthExiting(),
     452                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     453         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 0u, 0u, ::ad::physics::Speed(100.))});
     454                 :          1 : }
     455                 :            : 
     456                 :          2 : TEST_F(RssSceneCreationTestWithoutRouteEgoSouth2EastOtherSouth2North, e4_o4)
     457                 :            : {
     458   [ +  -  +  -  :          3 :   performSceneTest(locationEastOutgoing(),
             +  -  +  - ]
     459         [ +  - ]:          2 :                    locationNorthOutgoing(),
     460                 :          0 :                    std::initializer_list<ExpectedResultTuple>{std::make_tuple(
     461         [ +  - ]:          2 :                      ::ad::rss::situation::SituationType::NotRelevant, 0u, 0u, ::ad::physics::Speed(100.))});
     462                 :          1 : }

Generated by: LCOV version 1.14