Drake
rules_speed_limit_compare.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <gtest/gtest.h>
4 
7 
8 namespace drake {
9 namespace maliput {
10 namespace api {
11 namespace rules {
12 namespace test {
13 
14 
15 /// Predicate-formatter which tests equality of SpeedLimitRule::Severity.
16 // TODO(maddog@tri.global) This should be replaced by a generic predicate
17 // which handles anything with operator==.
18 ::testing::AssertionResult IsEqual(const char* a_expression,
19  const char* b_expression,
22 
23 
24 /// Predicate-formatter which tests equality of SpeedLimitRule.
25 ::testing::AssertionResult IsEqual(const char* a_expression,
26  const char* b_expression,
27  const rules::SpeedLimitRule& a,
28  const rules::SpeedLimitRule& b);
29 
30 
31 } // namespace test
32 } // namespace rules
33 } // namespace api
34 } // namespace maliput
35 } // namespace drake
Definition: automotive_demo.cc:90
::testing::AssertionResult IsEqual(const char *a_expression, const char *b_expression, rules::RightOfWayRule::Type a, rules::RightOfWayRule::Type b)
Predicate-formatter which tests equality of RightOfWayRule::Type.
Definition: rules_right_of_way_compare.cc:18
Severity
Severity classification.
Definition: speed_limit_rule.h:27