Commit e53686a5 authored by Emanuele Tamponi's avatar Emanuele Tamponi

Added a test for mixing.

svn path=/trunk/koffice/; revision=753222
parent 08769811
......@@ -27,7 +27,7 @@
#include "kis_illuminant_profile.h"
void KisKS3ColorSpaceTest::testConstructor()
void KisKSColorSpaceTest::testConstructor()
{
KisIlluminantProfile *p1 = new KisIlluminantProfile("D653Test.ill");
KisIlluminantProfile *p2 = new KisIlluminantProfile("D659Test.ill");
......@@ -50,7 +50,7 @@ void print_vector(quint8 *v, const QString &text)
#define N 9
void KisKS3ColorSpaceTest::testToFromRgbA16()
void KisKSColorSpaceTest::testToFromRgbA16()
{
KisIlluminantProfile *p = new KisIlluminantProfile("D65"+QString::number(N)+"Test.ill");
KisKSColorSpace<N> *cs = new KisKSColorSpace<N>(p);
......@@ -133,7 +133,7 @@ void KisKS3ColorSpaceTest::testToFromRgbA16()
delete p;
}
void KisKS3ColorSpaceTest::testMixing()
void KisKSColorSpaceTest::testMixing()
{
KisIlluminantProfile *p = new KisIlluminantProfile("D65"+QString::number(N)+"Test.ill");
KisKSColorSpace<N> *cs = new KisKSColorSpace<N>(p);
......
......@@ -22,7 +22,7 @@
#include <QtTest/QtTest>
class KisKS3ColorSpaceTest : public QObject
class KisKSColorSpaceTest : public QObject
{
Q_OBJECT
......@@ -34,4 +34,4 @@ private slots:
};
#endif // KIS_KS3_COLORSPACE_TEST_H_
#endif // KIS_KS_COLORSPACE_TEST_H_
/*
* Copyright (c) 2007 Emanuele Tamponi <emanuele@valinor.it>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
\ No newline at end of file
/*
* Copyright (c) 2007 Emanuele Tamponi <emanuele@valinor.it>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef MIXING_TEST_H_
#define MIXING_TEST_H_
#include <QtTest/QtTest>
class MixingTest : public QObject
{
Q_OBJECT
private slots:
void testMixing();
};
#endif // MIXING_TEST_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment