OLD | NEW |
---|---|
(Empty) | |
1 #ifndef DMExpectations_DEFINED | |
2 #define DMExpectations_DEFINED | |
3 | |
4 #include "DMTask.h" | |
5 | |
6 namespace DM { | |
7 | |
8 struct Expectations { | |
9 virtual ~Expectations() {} | |
10 | |
11 // Return true if bitmap is the correct output for task, else false. | |
12 virtual bool check(const Task& task, SkBitmap bitmap) const { | |
13 return true; | |
14 } | |
15 }; | |
16 | |
17 } // namespace DM | |
18 | |
19 #endif // DMExpectations_DEFINED | |
OLD | NEW |