Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
651 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2010 Cyrille Berger <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef _KIS_CUBIC_CURVE_TEST_H_
#define _KIS_CUBIC_CURVE_TEST_H_

#include <simpletest.h>


#include "kis_cubic_curve.h"

class KisCubicCurveTest : public QObject
{
    Q_OBJECT
public:
    KisCubicCurveTest();
private Q_SLOTS:

    void testCreation();
    void testCopy();
    void testEdition();
    void testComparison();
    void testSerialization();
    void testValue();
    void testNull();
    void testTransfer();
private:
    using Point = KisCubicCurvePoint;
    Point pt0, pt1, pt2, pt3, pt4, pt5;
};


#endif