Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/alkimia/tests/alkvalue-test.h
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | * Copyright 2010 Thomas Baumgart <tbaumgart@kde.org> | ||||
3 | * | ||||
4 | * This program is free software; you can redistribute it and/or | ||||
5 | * modify it under the terms of the GNU General Public License as | ||||
6 | * published by the Free Software Foundation; either version 2 of | ||||
7 | * the License, or (at your option) any later version. | ||||
8 | * | ||||
9 | * This program is distributed in the hope that it will be useful, | ||||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
12 | * GNU General Public License for more details. | ||||
13 | * | ||||
14 | * You should have received a copy of the GNU General Public License | ||||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
16 | */ | ||||
17 | | ||||
18 | #ifndef ALKVALUETEST_H | ||||
19 | #define ALKVALUETEST_H | ||||
20 | | ||||
21 | #include <QObject> | ||||
22 | | ||||
23 | class AlkValue; | ||||
24 | | ||||
25 | class AlkValueTest : public QObject | ||||
26 | { | ||||
27 | Q_OBJECT | ||||
28 | | ||||
29 | private slots: | ||||
30 | void init(); | ||||
31 | void cleanup(); | ||||
32 | void emptyCtor(); | ||||
33 | void copyCtor(); | ||||
34 | void intCtor(); | ||||
35 | void stringCtor(); | ||||
36 | void doubleCtor(); | ||||
37 | void assignment(); | ||||
38 | void equality(); | ||||
39 | void inequality(); | ||||
40 | void less(); | ||||
41 | void greater(); | ||||
42 | void lessThan(); | ||||
43 | void greaterThan(); | ||||
44 | void addition(); | ||||
45 | void subtraction(); | ||||
46 | void multiplication(); | ||||
47 | void division(); | ||||
48 | void unaryMinus(); | ||||
49 | void abs(); | ||||
50 | void precision(); | ||||
51 | void convertDenominator(); | ||||
52 | void convertPrecision(); | ||||
53 | void denominatorToPrecision(); | ||||
54 | void precisionToDenominator(); | ||||
55 | void valueRef(); | ||||
56 | void canonicalize(); | ||||
57 | }; | ||||
58 | | ||||
59 | #endif // ALKVALUETEST_H |