NNFS
Neural network library from scratch
Loading...
Searching...
No Matches
test_canvas.h
Go to the documentation of this file.
1#ifndef TEST_CANVAS_H
2#define TEST_CANVAS_H
3
4#include <QObject>
5#include <QTest>
6#include "canvas.h"
7
8class TestCanvas : public QObject
9{
10 Q_OBJECT
11
12private slots:
13 void testClearImage_positive();
14 void testClearImage_negative();
15
16 void testRestartCanvas_positive();
17 void testRestartCanvas_negative();
18
19 void testGetMatrix_positive();
20 void testGetMatrix_negative();
21
22 void testMousePressEvent_positive();
23 void testMousePressEvent_negative();
24
25 void testMouseMoveEvent_positive();
26 void testMouseMoveEvent_negative();
27
28 void testMouseReleaseEvent_positive();
29 void testMouseReleaseEvent_negative();
30};
31
32#endif // TEST_CANVAS_H
Definition test_canvas.h:9