|
KiCad PCB EDA Suite
|
Simple binary expectation that checks if an integer value meets the expectation (exact, at least, at most). More...
Public Member Functions | |
| void | Test (int aActual) const |
| std::string | Describe () const |
Static Public Member Functions | |
| static INT_MATCHER | FromJson (const nlohmann::json &aJson) |
| static INT_MATCHER | Exact (int aValue) |
Private Attributes | |
| std::optional< int > | m_min |
| std::optional< int > | m_max |
Simple binary expectation that checks if an integer value meets the expectation (exact, at least, at most).
Definition at line 41 of file board_expectations.cpp.
|
inline |
Definition at line 96 of file board_expectations.cpp.
|
inlinestatic |
Definition at line 79 of file board_expectations.cpp.
Referenced by createLayerExpectation().
|
inlinestatic |
Definition at line 44 of file board_expectations.cpp.
Referenced by createFootprintExpectation(), createLayerExpectation(), and createNetExpectation().
|
inline |
Definition at line 87 of file board_expectations.cpp.
References BOOST_TEST(), m_max, and m_min.
|
private |
Definition at line 119 of file board_expectations.cpp.
Referenced by Describe(), Exact(), FromJson(), and Test().
|
private |
Definition at line 118 of file board_expectations.cpp.
Referenced by Describe(), Exact(), FromJson(), and Test().