File indexing completed on 2024-04-14 03:56:09

0001 /*
0002  *   SPDX-FileCopyrightText: 2009 Petri Damstén <damu@iki.fi>
0003  *
0004  *   SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #ifndef VALUE_TEST_H
0008 #define VALUE_TEST_H
0009 
0010 #include <QObject>
0011 #include <QTest>
0012 #include <kunitconversion/converter.h>
0013 
0014 using namespace KUnitConversion;
0015 
0016 class ValueTest : public QObject
0017 {
0018     Q_OBJECT
0019 private Q_SLOTS:
0020     void initTestCase();
0021     void testStrings();
0022     void testRound();
0023     void testConvert();
0024     void testInvalid();
0025     void testCurrencyNotDownloaded();
0026 
0027 private:
0028     Value v1;
0029     Value v2;
0030     Value v3;
0031 };
0032 
0033 #endif