Skip to content

Commit

Permalink
[tests] Basket
Browse files Browse the repository at this point in the history
split in 3 different tests
enable long double on windows
  • Loading branch information
nmellado committed Jul 27, 2023
1 parent 85767c1 commit 48d3a70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/src/basket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "../common/testing.h"
#include "../common/testUtils.h"

#include "../split_test_helper.h"

#include <Ponca/src/Fitting/basket.h>
#include <Ponca/src/Fitting/orientedSphereFit.h>
#include <Ponca/src/Fitting/covariancePlaneFit.h>
Expand Down Expand Up @@ -292,16 +294,14 @@ int main(int argc, char** argv)
}

cout << "Test Basket functions in 3 dimensions: float" << flush;
callSubTests<float, 3>();
CALL_SUBTEST_1((callSubTests<float, 3>()));
cout << " (ok), double" << flush;
callSubTests<double, 3>();
CALL_SUBTEST_2((callSubTests<double, 3>()));
cout << " (ok)" << flush;
// don't know why, but we have problems when using the kdtree with long doubles on windows
#ifndef WIN32
cout << ", long double" << flush;
callSubTests<long double, 3>();
CALL_SUBTEST_3((callSubTests<long double, 3>()));
cout << " (ok)" << endl;
#endif

// cout << "Test Basket functions in 4 dimensions..." << endl;
// callSubTests<float, 4>();
Expand Down

0 comments on commit 48d3a70

Please sign in to comment.