* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert postconditions that if not meet, would * result in undefined behavior. These should not be tested by a * unit test, meaning they are contract violations. These asserts * are simply there as a sanity check during a debug build. * * <!-- inputs/outputs --> *
| 66 | * @param test the contract to check |
| 67 | */ |
| 68 | void |
| 69 | platform_ensures(int const test) NOEXCEPT |
| 70 | { |
| 71 | BUG_ON(!test); |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * <!-- description --> |
nothing calls this directly
no outgoing calls
no test coverage detected