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 <ad/rss/map/test_support/RssWorldModelCreationTest.hpp>
10 : :
11 : : struct RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South
12 : : : public ad::rss::map::test_support::RssWorldModelCreationTestWithRoute
13 : : {
14 : : /*
15 : : * | O0 |
16 : : * | |
17 : : * | |
18 : : * | O1 |___________
19 : : * |
20 : : * |
21 : : * | O2
22 : : * | E2 E3 E4
23 : : * | ____________
24 : : * | O3 E1 |
25 : : * | |
26 : : * | |
27 : : * | O4 E0 |
28 : : */
29 : : };
30 : :
31 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e0_o0)
32 : : {
33 [ + - + - ]: 4 : performConstellationTest(
34 [ + - ]: 1 : locationSouthIncoming(),
35 [ + - ]: 2 : locationNorthIncoming(),
36 : : std::initializer_list<ExpectedResultTuple>{
37 : : // in case the other turns left
38 : 0 : std::make_tuple(
39 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(15.2778)),
40 : : // in case the other drives straight
41 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 4u, 0u, ::ad::physics::Speed(15.2778))});
42 : 1 : }
43 : :
44 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e0_o1)
45 : : {
46 [ + - + - ]: 4 : performConstellationTest(
47 [ + - ]: 1 : locationSouthIncoming(),
48 [ + - ]: 2 : locationNorthEntering(),
49 : : std::initializer_list<ExpectedResultTuple>{
50 : : // in case the other turns left
51 : 0 : std::make_tuple(
52 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(15.2778)),
53 : : // in case the other drives straight
54 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 3u, 0u, ::ad::physics::Speed(15.2778))});
55 : 1 : }
56 : :
57 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e0_o2)
58 : : {
59 [ + - + - ]: 6 : performConstellationTest(
60 [ + - ]: 1 : locationSouthIncoming(),
61 [ + - ]: 2 : locationNorth2South(),
62 : : std::initializer_list<ExpectedResultTuple>{
63 : : // both predictions lead to driving straight at this point in time
64 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778)),
65 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778)),
66 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778)),
67 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778))});
68 : 1 : }
69 : :
70 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e0_o3)
71 : : {
72 [ + - + - ]: 3 : performConstellationTest(
73 [ + - ]: 1 : locationSouthIncoming(),
74 [ + - ]: 2 : locationSouthExiting(),
75 : : std::initializer_list<ExpectedResultTuple>{
76 : : // more or less outside only single opposite case
77 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(12.2936))});
78 : 1 : }
79 : :
80 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e0_o4)
81 : : {
82 [ + - + - ]: 3 : performConstellationTest(
83 [ + - ]: 1 : locationSouthIncoming(),
84 [ + - ]: 2 : locationSouthOutgoing(),
85 : : std::initializer_list<ExpectedResultTuple>{
86 : : // outside only single opposite case
87 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(12.2936))});
88 : 1 : }
89 : :
90 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e1_o0)
91 : : {
92 [ + - + - ]: 4 : performConstellationTest(
93 [ + - ]: 1 : locationSouthEntering(),
94 [ + - ]: 2 : locationNorthIncoming(),
95 : : std::initializer_list<ExpectedResultTuple>{
96 : : // in case the other turns left
97 : 0 : std::make_tuple(
98 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(15.2778)),
99 : : // in case the other drives straight
100 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 3u, 0u, ::ad::physics::Speed(15.2778))});
101 : 1 : }
102 : :
103 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e1_o1)
104 : : {
105 [ + - + - ]: 4 : performConstellationTest(
106 [ + - ]: 1 : locationSouthEntering(),
107 [ + - ]: 2 : locationNorthEntering(),
108 : : std::initializer_list<ExpectedResultTuple>{
109 : : // in case the other turns left
110 : 0 : std::make_tuple(
111 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(15.2778)),
112 : : // in case the other drives straight
113 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778))});
114 : 1 : }
115 : :
116 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e1_o2)
117 : : {
118 [ + - + - ]: 6 : performConstellationTest(
119 [ + - ]: 1 : locationSouthEntering(),
120 [ + - ]: 2 : locationNorth2South(),
121 : : std::initializer_list<ExpectedResultTuple>{
122 : : // both predictions lead to driving straight at this point in time
123 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
124 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
125 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
126 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778))});
127 : 1 : }
128 : :
129 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e1_o3)
130 : : {
131 [ + - + - ]: 11 : performConstellationTest(
132 [ + - ]: 1 : locationSouthEntering(),
133 [ + - ]: 2 : locationSouthExiting(),
134 : : std::initializer_list<ExpectedResultTuple>{
135 : : // because of the shorter connecting route, we get only 2 object prediction
136 : : // route length is zero, but consists of 1 or 2 segments here
137 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(12.2936)),
138 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
139 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
140 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
141 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
142 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778)),
143 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778)),
144 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778)),
145 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778))});
146 : 1 : }
147 : :
148 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e1_o4)
149 : : {
150 [ + - + - ]: 3 : performConstellationTest(
151 [ + - ]: 1 : locationSouthEntering(),
152 [ + - ]: 2 : locationSouthOutgoing(),
153 : : std::initializer_list<ExpectedResultTuple>{
154 : : // the other passed our route
155 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
156 : 1 : }
157 : :
158 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e2_o0)
159 : : {
160 [ + - + - ]: 4 : performConstellationTest(
161 [ + - ]: 1 : locationSouth2East(),
162 [ + - ]: 2 : locationNorthIncoming(),
163 : : std::initializer_list<ExpectedResultTuple>{
164 : : // in case the other turns left
165 : 0 : std::make_tuple(
166 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(15.2778)),
167 : : // in case the other drives straight
168 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 3u, 0u, ::ad::physics::Speed(15.2778))});
169 : 1 : }
170 : :
171 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e2_o1)
172 : : {
173 [ + - + - ]: 4 : performConstellationTest(
174 [ + - ]: 1 : locationSouth2East(),
175 [ + - ]: 2 : locationNorthEntering(),
176 : : std::initializer_list<ExpectedResultTuple>{
177 : : // in case the other turns left
178 : 0 : std::make_tuple(
179 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(15.2778)),
180 : : // in case the other drives straight
181 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 2u, 0u, ::ad::physics::Speed(15.2778))});
182 : 1 : }
183 : :
184 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e2_o2)
185 : : {
186 [ + - + - ]: 6 : performConstellationTest(
187 [ + - ]: 1 : locationSouth2East(),
188 [ + - ]: 2 : locationNorth2South(),
189 : : std::initializer_list<ExpectedResultTuple>{
190 : : // both predictions lead to driving straight at this point in time
191 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
192 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
193 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778)),
194 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(15.2778))});
195 : 1 : }
196 : :
197 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e2_o3)
198 : : {
199 [ + - + - ]: 3 : performConstellationTest(
200 [ + - ]: 1 : locationSouth2East(),
201 [ + - ]: 2 : locationSouthExiting(),
202 : : std::initializer_list<ExpectedResultTuple>{
203 : : // here the other is behind us
204 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
205 : 1 : }
206 : :
207 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e2_o4)
208 : : {
209 [ + - + - ]: 3 : performConstellationTest(
210 [ + - ]: 1 : locationSouth2East(),
211 [ + - ]: 2 : locationSouthOutgoing(),
212 : : std::initializer_list<ExpectedResultTuple>{
213 : : // here the other is behind us
214 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
215 : 1 : }
216 : :
217 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e3_o0)
218 : : {
219 [ + - + - ]: 3 : performConstellationTest(
220 [ + - ]: 1 : locationEastExiting(),
221 [ + - ]: 2 : locationNorthIncoming(),
222 : : std::initializer_list<ExpectedResultTuple>{
223 : : // the other is more or less behind us when turning left leading to same direction case
224 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::SameDirection, 2u, 0u, ::ad::physics::Speed(15.2778))});
225 : 1 : }
226 : :
227 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e3_o1)
228 : : {
229 [ + - + - ]: 3 : performConstellationTest(
230 [ + - ]: 1 : locationEastExiting(),
231 [ + - ]: 2 : locationNorthEntering(),
232 : : std::initializer_list<ExpectedResultTuple>{
233 : : // the other is more or less behind us when turning left leading to same direction case
234 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::SameDirection, 1u, 0u, ::ad::physics::Speed(15.2778))});
235 : 1 : }
236 : :
237 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e3_o2)
238 : : {
239 [ + - + - ]: 3 : performConstellationTest(
240 [ + - ]: 1 : locationEastExiting(),
241 [ + - ]: 2 : locationNorth2South(),
242 : : std::initializer_list<ExpectedResultTuple>{
243 : : // here the other is behind us
244 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
245 : 1 : }
246 : :
247 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e3_o3)
248 : : {
249 [ + - + - ]: 3 : performConstellationTest(
250 [ + - ]: 1 : locationEastExiting(),
251 [ + - ]: 2 : locationSouthExiting(),
252 : : std::initializer_list<ExpectedResultTuple>{
253 : : // here the other is behind us
254 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
255 : 1 : }
256 : :
257 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e3_o4)
258 : : {
259 [ + - + - ]: 3 : performConstellationTest(
260 [ + - ]: 1 : locationEastExiting(),
261 [ + - ]: 2 : locationSouthOutgoing(),
262 : : std::initializer_list<ExpectedResultTuple>{
263 : : // here the other is behind us
264 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 3u, 0u, ::ad::physics::Speed(100.))});
265 : 1 : }
266 : :
267 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e4_o0)
268 : : {
269 [ + - + - ]: 3 : performConstellationTest(
270 [ + - ]: 1 : locationEastOutgoing(),
271 [ + - ]: 2 : locationNorthIncoming(),
272 : : std::initializer_list<ExpectedResultTuple>{
273 : : // the other is behind us when turning left leading to same direction case
274 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::SameDirection, 3u, 0u, ::ad::physics::Speed(15.2778))});
275 : 1 : }
276 : :
277 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e4_o1)
278 : : {
279 [ + - + - ]: 3 : performConstellationTest(
280 [ + - ]: 1 : locationEastOutgoing(),
281 [ + - ]: 2 : locationNorthEntering(),
282 : : std::initializer_list<ExpectedResultTuple>{
283 : : // the other is behind us when turning left leading to same direction case
284 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::SameDirection, 2u, 0u, ::ad::physics::Speed(15.2778))});
285 : 1 : }
286 : :
287 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e4_o2)
288 : : {
289 [ + - + - ]: 3 : performConstellationTest(
290 [ + - ]: 1 : locationEastOutgoing(),
291 [ + - ]: 2 : locationNorth2South(),
292 : : std::initializer_list<ExpectedResultTuple>{
293 : : // here the other is behind us, but no possibility to turn left anymore
294 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 1u, 0u, ::ad::physics::Speed(100.))});
295 : 1 : }
296 : :
297 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e4_o3)
298 : : {
299 [ + - + - ]: 3 : performConstellationTest(
300 [ + - ]: 1 : locationEastOutgoing(),
301 [ + - ]: 2 : locationSouthExiting(),
302 : : std::initializer_list<ExpectedResultTuple>{
303 : : // here the other is behind us, but no possibility to turn left anymore
304 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 1u, 0u, ::ad::physics::Speed(100.))});
305 : 1 : }
306 : :
307 : 4 : TEST_F(RssWorldModelCreationTestWithRouteEgoSouth2EastOtherNorth2South, e4_o4)
308 : : {
309 [ + - + - ]: 3 : performConstellationTest(
310 [ + - ]: 1 : locationEastOutgoing(),
311 [ + - ]: 2 : locationSouthOutgoing(),
312 : : std::initializer_list<ExpectedResultTuple>{
313 : : // here the other is behind us, but no possibility to turn left anymore
314 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::NotRelevant, 1u, 0u, ::ad::physics::Speed(100.))});
315 : 1 : }
316 : :
317 : : struct RssWorldModelCreationTestWithoutRouteEgoSouth2EastOtherNorth2South
318 : : : public ad::rss::map::test_support::RssWorldModelCreationTestWithoutRoute
319 : : {
320 : : /*
321 : : * | O0 |
322 : : * | |
323 : : * | |
324 : : * | O1 |___________
325 : : * |
326 : : * |
327 : : * | O2
328 : : * | E2 E3 E4
329 : : * | ____________
330 : : * | O3 E1 |
331 : : * | |
332 : : * | |
333 : : * | O4 E0 |
334 : : */
335 : : };
336 : :
337 : 4 : TEST_F(RssWorldModelCreationTestWithoutRouteEgoSouth2EastOtherNorth2South, e0_o0)
338 : : {
339 [ + - + - ]: 6 : performConstellationTest(
340 [ + - ]: 1 : locationSouthIncoming(),
341 [ + - ]: 2 : locationNorthIncoming(),
342 : : // here we get 2 object predictions and 2 ego predictions
343 : : std::initializer_list<ExpectedResultTuple>{
344 : : // ego-turn-right: other-turn-left
345 : 0 : std::make_tuple(
346 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(100.)),
347 : : // ego-turn-right: other-straight
348 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 4u, 0u, ::ad::physics::Speed(100.)),
349 : : // ego-straight: other-turn-left
350 : 0 : std::make_tuple(
351 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 3u, 2u, ::ad::physics::Speed(100.)),
352 : : // ego-straight: other-straight
353 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 4u, 0u, ::ad::physics::Speed(100.))});
354 : 1 : }
355 : :
356 : 4 : TEST_F(RssWorldModelCreationTestWithoutRouteEgoSouth2EastOtherNorth2South, e2_o0)
357 : : {
358 [ + - + - ]: 6 : performConstellationTest(
359 [ + - ]: 1 : locationSouth2East(),
360 [ + - ]: 2 : locationNorthIncoming(),
361 : : // here we get 2 object predictions and 2 ego predictions
362 : : std::initializer_list<ExpectedResultTuple>{
363 : : // ego-turn-right: other-turn-left
364 : 0 : std::make_tuple(
365 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 1u, 2u, ::ad::physics::Speed(100.)),
366 : : // ego-turn-right: other-straight
367 [ + - ]: 1 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 3u, 0u, ::ad::physics::Speed(100.)),
368 : : // ego-straight: other-turn-left
369 : 0 : std::make_tuple(
370 [ + - ]: 1 : ::ad::rss::world::ConstellationType::IntersectionEgoHasPriority, 2u, 2u, ::ad::physics::Speed(100.)),
371 : : // ego-straight: other-straight
372 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 3u, 0u, ::ad::physics::Speed(100.))});
373 : 1 : }
374 : :
375 : 4 : TEST_F(RssWorldModelCreationTestWithoutRouteEgoSouth2EastOtherNorth2South, e0_o4)
376 : : {
377 [ + - + - ]: 3 : performConstellationTest(
378 [ + - ]: 1 : locationSouthIncoming(),
379 [ + - ]: 2 : locationSouthOutgoing(),
380 : : std::initializer_list<ExpectedResultTuple>{
381 : : // outside only single opposite case
382 [ + - ]: 2 : std::make_tuple(::ad::rss::world::ConstellationType::OppositeDirection, 1u, 0u, ::ad::physics::Speed(100.))});
383 : 1 : }
384 : :
385 : : //@TODO fill in between steps of RssWorldModelCreationTestWithoutRouteEgoSouth2EastOtherNorth2South
|