blob: 7993a55be965244f07f92a38eaefebcff65dab06 [file] [log] [blame]
#ifndef DMExpectations_DEFINED
#define DMExpectations_DEFINED
#include "DMTask.h"
namespace DM {
struct Expectations {
virtual ~Expectations() {}
// Return true if bitmap is the correct output for task, else false.
virtual bool check(const Task& task, SkBitmap bitmap) const {
return true;
}
};
} // namespace DM
#endif // DMExpectations_DEFINED