File indexing completed on 2024-12-22 04:10:15
0001 /* 0002 * SPDX-FileCopyrightText: 2010 Cyrille Berger <cberger@cberger.net> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef _KIS_CUBIC_CURVE_TEST_H_ 0008 #define _KIS_CUBIC_CURVE_TEST_H_ 0009 0010 #include <simpletest.h> 0011 0012 #include <QPointF> 0013 0014 class KisCubicCurveTest : public QObject 0015 { 0016 Q_OBJECT 0017 public: 0018 KisCubicCurveTest(); 0019 private Q_SLOTS: 0020 0021 void testCreation(); 0022 void testCopy(); 0023 void testEdition(); 0024 void testComparison(); 0025 void testSerialization(); 0026 void testValue(); 0027 void testNull(); 0028 void testTransfer(); 0029 private: 0030 QPointF pt0, pt1, pt2, pt3, pt4, pt5; 0031 }; 0032 0033 0034 #endif