Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoFlakeTypes.h
- This file was copied from libs/image/tests/kis_algebra_2d_test.h.
Show All 10 Lines | |||||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. | ||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU General Public License | 14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | #ifndef __KIS_ALGEBRA_2D_TEST_H | 19 | #ifndef KOFLAKETYPES_H | ||
20 | #define __KIS_ALGEBRA_2D_TEST_H | 20 | #define KOFLAKETYPES_H | ||
21 | 21 | | |||
22 | #include <QtTest/QtTest> | 22 | class KoShapeStroke; | ||
23 | class KoShapeStrokeModel; | ||||
23 | 24 | | |||
24 | class KisAlgebra2DTest : public QObject | 25 | template<class T> class QSharedPointer; | ||
25 | { | 26 | | ||
26 | Q_OBJECT | 27 | typedef QSharedPointer<KoShapeStrokeModel> KoShapeStrokeModelSP; | ||
27 | private Q_SLOTS: | 28 | typedef QSharedPointer<KoShapeStroke> KoShapeStrokeSP; | ||
28 | void testHalfPlane(); | 29 | | ||
29 | void testOuterCircle(); | 30 | #endif // KOFLAKETYPES_H | ||
30 | | ||||
31 | void testQuadraticEquation(); | | |||
32 | void testIntersections(); | | |||
33 | void testWeirdIntersections(); | | |||
34 | }; | | |||
35 | 31 | | |||
36 | #endif /* __KIS_ALGEBRA_2D_TEST_H */ | |