File indexing completed on 2024-04-28 05:02:29

0001 /*
0002     SPDX-FileCopyrightText: 2010 Thomas Baumgart ipwizard @users.sourceforge.net
0003 
0004     This file is part of libalkimia.
0005 
0006     SPDX-License-Identifier: LGPL-2.1-or-later
0007 */
0008 
0009 #ifndef ALKVALUETEST_H
0010 #define ALKVALUETEST_H
0011 
0012 #include <QtCore/QObject>
0013 
0014 class AlkValue;
0015 
0016 class AlkValueTest : public QObject
0017 {
0018     Q_OBJECT
0019 
0020 private Q_SLOTS:
0021     void init();
0022     void cleanup();
0023     void emptyCtor();
0024     void copyCtor();
0025     void intCtor();
0026     void stringCtor();
0027     void doubleCtor();
0028     void assignment();
0029     void equality();
0030     void inequality();
0031     void less();
0032     void greater();
0033     void lessThan();
0034     void greaterThan();
0035     void addition();
0036     void subtraction();
0037     void multiplication();
0038     void division();
0039     void modulo();
0040     void unaryMinus();
0041     void abs();
0042     void precision();
0043     void convertDenominator();
0044     void convertPrecision();
0045     void denominatorToPrecision();
0046     void precisionToDenominator();
0047     void valueRef();
0048     void canonicalize();
0049 };
0050 
0051 #endif // ALKVALUETEST_H