@@ -161,9 +161,9 void tst_QCategoryAxis::max_animation() | |||
|
161 | 161 | void tst_QCategoryAxis::min_raw_data() |
|
162 | 162 | { |
|
163 | 163 | QTest::addColumn<qreal>("min"); |
|
164 | QTest::newRow("-1.0") << -1.0; | |
|
165 | QTest::newRow("-50.0") << -50.0; | |
|
166 | QTest::newRow("-101.0") << -101.0; | |
|
164 | QTest::newRow("-1.0") << (qreal)-1.0; | |
|
165 | QTest::newRow("-50.0") << (qreal)-50.0; | |
|
166 | QTest::newRow("-101.0") << (qreal)-101.0; | |
|
167 | 167 | } |
|
168 | 168 | |
|
169 | 169 | void tst_QCategoryAxis::min_raw() |
@@ -210,12 +210,12 void tst_QCategoryAxis::range_raw_data() | |||
|
210 | 210 | { |
|
211 | 211 | QTest::addColumn<qreal>("min"); |
|
212 | 212 | QTest::addColumn<qreal>("max"); |
|
213 | QTest::newRow("1.0 - 101.0") << -1.0 << 101.0; | |
|
214 | QTest::newRow("25.0 - 75.0") << 25.0 << 75.0; | |
|
215 | QTest::newRow("101.0") << 40.0 << 60.0; | |
|
216 | QTest::newRow("-35.0 - 0.0") << -35.0 << 10.0; | |
|
217 | QTest::newRow("-35.0 - 0.0") << -35.0 << -15.0; | |
|
218 | QTest::newRow("0.0 - 0.0") << -0.1 << 0.1; | |
|
213 | QTest::newRow("1.0 - 101.0") << (qreal)-1.0 << (qreal)101.0; | |
|
214 | QTest::newRow("25.0 - 75.0") << (qreal)25.0 << (qreal)75.0; | |
|
215 | QTest::newRow("101.0") << (qreal)40.0 << (qreal)60.0; | |
|
216 | QTest::newRow("-35.0 - 0.0") << (qreal)-35.0 << (qreal)10.0; | |
|
217 | QTest::newRow("-35.0 - 0.0") << (qreal)-35.0 << (qreal)-15.0; | |
|
218 | QTest::newRow("0.0 - 0.0") << (qreal)-0.1 << (qreal)0.1; | |
|
219 | 219 | } |
|
220 | 220 | |
|
221 | 221 | void tst_QCategoryAxis::range_raw() |
General Comments 0
You need to be logged in to leave comments.
Login now