diff options
Diffstat (limited to 'tests/auto/qsensor/tst_qsensor.cpp')
-rw-r--r-- | tests/auto/qsensor/tst_qsensor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qsensor/tst_qsensor.cpp b/tests/auto/qsensor/tst_qsensor.cpp index 3218d7fc..ff495a07 100644 --- a/tests/auto/qsensor/tst_qsensor.cpp +++ b/tests/auto/qsensor/tst_qsensor.cpp @@ -881,6 +881,10 @@ private slots: QCOMPARE(reading->isDoubleTap(), true); }) + TEST_SENSORINTERFACE(QIRProximitySensor, QIRProximityReading, { + QCOMPARE(reading->reflectance(), 0.5); + }) + unregister_test_backends(); } |