Struct ResultWas

Synopsis

#include <include/internal/catch_result_type.h>

struct ResultWas

Description

No description yet.

Source

Lines 14-32 in include/internal/catch_result_type.h.

struct ResultWas { enum OfType {
    Unknown = -1,
    Ok = 0,
    Info = 1,
    Warning = 2,
    FailureBit = 0x10,
    ExpressionFailed = FailureBit | 1,
    ExplicitFailure = FailureBit | 2,
    Exception = 0x100 | FailureBit,
    ThrewException = Exception | 1,
    DidntThrowException = Exception | 2,
    FatalErrorCondition = 0x200 | FailureBit
}; };





Add Discussion as Guest

Log in