--verify: Fix false negative in itc test suite

This commit is contained in:
Daniel Marjamäki 2019-10-27 16:40:16 +01:00
parent 83a7987f6f
commit 2fa9a29ea7
1 changed files with 5 additions and 0 deletions

View File

@ -138,6 +138,11 @@ namespace ExprEngine {
, maxValue(maxValue) {
}
virtual bool isEqual(DataBase *dataBase, int value) const {
(void)dataBase;
return value >= minValue && value <= maxValue;
}
std::string getRange() const override {
return std::to_string(minValue) + ":" + std::to_string(maxValue);
}