| 28 | #include "tlUnitTest.h" |
| 29 | |
| 30 | std::string |
| 31 | to_string (const tl::PixelBuffer &img, unsigned int mask) |
| 32 | { |
| 33 | std::string s; |
| 34 | for (unsigned int i = 0; i < 32; ++i) { |
| 35 | const unsigned int *data = (const unsigned int *)img.scan_line (i); |
| 36 | for (unsigned int j = 0; j < 32; ++j) { |
| 37 | s += (data[j] & mask) ? "x" : "."; |
| 38 | } |
| 39 | s += "\n"; |
| 40 | } |
| 41 | return s; |
| 42 | } |
| 43 | |
| 44 | TEST(1) |
| 45 | { |
no test coverage detected