File indexing completed on 2024-05-26 04:26:10
0001 /* 0002 * SPDX-FileCopyrightText: 2007 Boudewijn Rempt boud @valdyas.org 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KIS_BRUSH_TEST_H 0008 #define KIS_BRUSH_TEST_H 0009 0010 #include <simpletest.h> 0011 0012 class KisGbrBrushTest : public QObject 0013 { 0014 Q_OBJECT 0015 0016 // XXX disabled until I figure out why they don't work from here, while the brushes do work from Krita 0017 void testMaskGenerationSingleColor(); 0018 void testMaskGenerationDevColor(); 0019 0020 private Q_SLOTS: 0021 0022 void testImageGeneration(); 0023 0024 void benchmarkPyramidCreation(); 0025 void benchmarkScaling(); 0026 void benchmarkRotation(); 0027 void benchmarkMaskScaling(); 0028 0029 void testPyramidLevelRounding(); 0030 void testPyramidDabTransform(); 0031 0032 void testQPainterTransformationBorder(); 0033 }; 0034 0035 #endif