| 57 | } |
| 58 | |
| 59 | void solution(QPainter &painter, int x, int y, bool selected) |
| 60 | { |
| 61 | using namespace traditional; |
| 62 | if (selected) |
| 63 | { |
| 64 | painter.setBrush(colors::gold); |
| 65 | } |
| 66 | else |
| 67 | { |
| 68 | painter.setBrush(colors::green); |
| 69 | } |
| 70 | |
| 71 | drawDiamond(painter, x, y, false); |
| 72 | } |
| 73 | |
| 74 | void failure(QPainter &painter, int x, int y, bool selected) |
| 75 | { |
no test coverage detected