File indexing completed on 2024-03-24 04:01:18
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 CONVERTERTEST_H 0008 #define CONVERTERTEST_H 0009 0010 #include <QObject> 0011 #include <QTest> 0012 #include <kunitconversion/converter.h> 0013 0014 using namespace KUnitConversion; 0015 0016 class ConverterTest : public QObject 0017 { 0018 Q_OBJECT 0019 private Q_SLOTS: 0020 void initTestCase(); 0021 void testCategory(); 0022 void testUnits(); 0023 void testConvert(); 0024 void testInvalid(); 0025 void testCurrency(); 0026 }; 0027 0028 #endif // CONVERTERTEST_H