Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gzotti committed Jul 29, 2022
1 parent 6c49344 commit e419310
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests/testStelSphereGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <stdexcept>

//#include "StelJsonParser.hpp"
#include "StelSphereGeometry.hpp"
#include "StelUtils.hpp"

Expand Down Expand Up @@ -456,7 +455,7 @@ void TestStelSphericalGeometry::testOctahedronPolygon()
QCOMPARE(splittedSubCopy.getArea(), 0.);

QCOMPARE(southPoleSquare.getArea(), northPoleSquare.getArea());
// WHoever wants to re-activate the getIntersection() and getUnion() methods in Qt6: Test these here.
// Whoever wants to re-activate the getIntersection() and getUnion() methods in Qt6: Test these here.
#if (QT_VERSION<QT_VERSION_CHECK(6,0,0))
QCOMPARE(southPoleSquare.getIntersection(northPoleSquare)->getArea(), 0.);
QCOMPARE(southPoleSquare.getUnion(northPoleSquare)->getArea(), 2.*southPoleSquare.getArea());
Expand Down

0 comments on commit e419310

Please sign in to comment.