MCPcopy Create free account
hub / github.com/IENT/YUView / checkValue

Method checkValue

YUViewLib/src/parser/common/SubByteReaderLoggingOptions.cpp:102–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100} // namespace
101
102CheckResult CheckEqualTo::checkValue(int64_t value) const
103{
104 if (value != this->value)
105 {
106 if (!this->errorIfFail.empty())
107 return CheckResult({this->errorIfFail, this->checkLevel});
108 return CheckResult(
109 {"Value should be equal to " + std::to_string(this->value), this->checkLevel});
110 }
111 return {};
112}
113
114CheckResult CheckGreater::checkValue(int64_t value) const
115{

Callers 1

checkAndLogFunction · 0.80

Calls 2

CheckResultClass · 0.85
to_stringFunction · 0.50

Tested by

no test coverage detected