|
@@ -192,8 +192,8 @@ void ctkDoubleSpinBoxTester::testSetRange_data()
|
|
|
QTest::newRow("[min,max]")
|
|
|
<< std::numeric_limits<double>::min()
|
|
|
<< std::numeric_limits<double>::max()
|
|
|
- << std::numeric_limits<double>::min()
|
|
|
- << std::numeric_limits<double>::max()
|
|
|
+ << 0. // rounded (see QDoubleSpinBox::setMinimum() doc)
|
|
|
+ << QVariant(std::numeric_limits<double>::max()).toDouble()
|
|
|
<< 25.;
|
|
|
QTest::newRow("[-max,max]")
|
|
|
<< -std::numeric_limits<double>::max()
|