Drake
check_id_indexing.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <gtest/gtest.h>
4 
6 
7 namespace drake {
8 namespace maliput {
9 namespace api {
10 namespace test {
11 
12 /// Walks the object graph of @p road_geometry and checks that every
13 /// component can be found via `ById().Get*(const *Id& id)` methods.
14 ///
15 /// @return ::testing::AssertionSuccess() when all objects are found,
16 /// otherwise ::testing::AssertionFailure().
17 ::testing::AssertionResult CheckIdIndexing(const RoadGeometry* road_geometry);
18 
19 } // namespace test
20 } // namespace api
21 } // namespace maliput
22 } // namespace drake
Definition: automotive_demo.cc:105
::testing::AssertionResult CheckIdIndexing(const RoadGeometry *road_geometry)
Walks the object graph of road_geometry and checks that every component can be found via ById()...
Definition: check_id_indexing.cc:24