@@ -2,6 +2,7 | |||
|
2 | 2 | #define SCIQLOP_SORTUTILS_H |
|
3 | 3 | |
|
4 | 4 | #include <algorithm> |
|
5 | #include <cmath> | |
|
5 | 6 | #include <numeric> |
|
6 | 7 | #include <vector> |
|
7 | 8 |
@@ -2,6 +2,8 | |||
|
2 | 2 | #include "Data/ScalarSeries.h" |
|
3 | 3 | #include "Data/VectorSeries.h" |
|
4 | 4 | |
|
5 | #include <cmath> | |
|
6 | ||
|
5 | 7 | #include <QObject> |
|
6 | 8 | #include <QtTest> |
|
7 | 9 | |
@@ -465,8 +467,8 void TestDataSeries::testValuesBoundsScalar_data() | |||
|
465 | 467 | QTest::newRow("scalarBounds4") |
|
466 | 468 | << createScalarSeries({1., 2., 3., 4., 5.}, {100., 200., 300., 400., 500.}) << 5.1 << 6. |
|
467 | 469 | << false << nan << nan; |
|
468 | QTest::newRow("scalarBounds5") | |
|
469 | << createScalarSeries({1.}, {100.}) << 0. << 2. << true << 100. << 100.; | |
|
470 | QTest::newRow("scalarBounds5") << createScalarSeries({1.}, {100.}) << 0. << 2. << true << 100. | |
|
471 | << 100.; | |
|
470 | 472 | QTest::newRow("scalarBounds6") << createScalarSeries({}, {}) << 0. << 2. << false << nan << nan; |
|
471 | 473 | |
|
472 | 474 | // Tests with NaN values: NaN values are not included in min/max search |
General Comments 0
You need to be logged in to leave comments.
Login now