| 100 | } // namespace |
| 101 | |
| 102 | CheckResult 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 | |
| 114 | CheckResult CheckGreater::checkValue(int64_t value) const |
| 115 | { |
no test coverage detected