|
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 39 of file board_expectations.cpp.
|
inline |
Definition at line 94 of file board_expectations.cpp.
|
inlinestatic |
Definition at line 77 of file board_expectations.cpp.
Referenced by createLayerExpectation().
|
inlinestatic |
Definition at line 42 of file board_expectations.cpp.
Referenced by createFootprintExpectation(), createLayerExpectation(), and createNetExpectation().
|
inline |
Definition at line 85 of file board_expectations.cpp.
References BOOST_TEST(), m_max, and m_min.
|
private |
Definition at line 117 of file board_expectations.cpp.
Referenced by Describe(), Exact(), FromJson(), and Test().
|
private |
Definition at line 116 of file board_expectations.cpp.
Referenced by Describe(), Exact(), FromJson(), and Test().