scantools  1.0.8
Graphics manipulation with a view towards scanned documents
TIFFReaderTest.h
1 /*
2  * Copyright © 2017 Stefan Kebekus <stefan.kebekus@math.uni-freiburg.de>
3  *
4  * This program is free software: you can redistribute it and/or modify it under
5  * the terms of the GNU General Public License as published by the Free Software
6  * Foundation, either version 3 of the License, or (at your option) any later
7  * version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 
19 #include <QDebug>
20 #include <QtGlobal>
21 #include <QTest>
22 
23 class TIFFReaderTest: public QObject
24 {
25  Q_OBJECT
26 
27 public:
28  TIFFReaderTest(QObject *parent=nullptr) : QObject(parent) {}
29 
30 private slots:
31  static void imageReading();
32  static void imageReading_data();
33  static void resolution();
34  static void resolution_data();
35  static void multiPage_data();
36  static void multiPage();
37 };
The resolution class stores a resolution and converts between units.
Definition: resolution.h:40