Skip to content

Commit

Permalink
added (skeleton for) test for FacePolygon (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
lene committed Mar 27, 2014
1 parent d99cd34 commit bd2205c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/Test_FacePolygon.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* File: Test_FacePolygon.cpp
* Author: lene
*
* Created on March 27, 2014, 4:07 PM
*/

#include "Test_FacePolygon.h"

void Test_FacePolygon::equals() {

}
22 changes: 22 additions & 0 deletions tests/Test_FacePolygon.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* File: Test_FacePolygon.h
* Author: lene
*
* Created on March 27, 2014, 4:07 PM
*/

#ifndef TEST_FACEPOLYGON_H
#define TEST_FACEPOLYGON_H

#include <QtTest/QtTest>

class Test_FacePolygon: public QObject {
Q_OBJECT

private slots:
void equals();

};

#endif /* TEST_FACEPOLYGON_H */

2 changes: 2 additions & 0 deletions tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "Test_Composite.h"
#include "Test_Util.h"
#include "Test_PartitionedMultithreadedMap.h"
#include "Test_FacePolygon.h"

#include "Auxiliary/TestRunner.h"

Expand Down Expand Up @@ -80,6 +81,7 @@ int main(int argc, char **argv) {
runner.run(new Test_PartitionedMultithreadedMap);
runner.run(new Test_Object);
runner.run(new Test_Util);
runner.run(new Test_FacePolygon);

runner.printSummary();

Expand Down
3 changes: 3 additions & 0 deletions tests/tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ HEADERS += \
Test_FunctionFactory.h \
Test_FunctionHolder.h \
Test_PartitionedMultithreadedMap.h \
Test_FacePolygon.h \
Test_Displayable.h

SOURCES += \
Test_Util.cpp \
Test_Composite.cpp \
Expand All @@ -104,6 +106,7 @@ SOURCES += \
Test_FunctionFactory.cpp \
Test_FunctionHolder.cpp \
Test_PartitionedMultithreadedMap.cpp \
Test_FacePolygon.cpp \
Test_Displayable.cpp \
main.cpp

Expand Down

0 comments on commit bd2205c

Please sign in to comment.