MCPcopy Create free account
hub / github.com/FastLED/FastLED / checkFailed

Method checkFailed

src/fl/test/fltest.cpp.hpp:406–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406void TestContext::checkFailed(const char* expr, const char* file, int line) FL_NOEXCEPT {
407 AssertResult result(false);
408 result.mExpression = expr;
409 result.mLocation = SourceLocation(file, line);
410 reportAssert(result);
411}
412
413void TestContext::requireFailed(const char* expr, const char* file, int line) FL_NOEXCEPT {
414 checkFailed(expr, file, line);

Callers

nothing calls this directly

Calls 1

SourceLocationClass · 0.85

Tested by

no test coverage detected