We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85710f1 commit fb86c45Copy full SHA for fb86c45
tests/drivers/sensor/temp_sensor/src/main.c
@@ -34,6 +34,9 @@ ZTEST(temp_sensor, test_polling)
34
TC_PRINT("Temperature: %d.%02u\n",
35
temp_val/100, abs(temp_val) % 100);
36
37
+ zassert_true(val.val1 > 10, "Too cold");
38
+ zassert_true(val.val1 < 35, "Too hot");
39
+
40
++cnt;
41
if (cnt >= 5) {
42
break;
0 commit comments