From b4aa4375891da576fa3f9c82b6bbf3228642ae29 Mon Sep 17 00:00:00 2001 From: Carl Lundin Date: Wed, 12 Aug 2020 12:39:48 -0700 Subject: [PATCH] Change ioctl test case for ADC to use greater than equal. --- libraries/abstractions/common_io/test/test_iot_adc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/abstractions/common_io/test/test_iot_adc.c b/libraries/abstractions/common_io/test/test_iot_adc.c index baffe9e7b59..d3fc41f6326 100644 --- a/libraries/abstractions/common_io/test/test_iot_adc.c +++ b/libraries/abstractions/common_io/test/test_iot_adc.c @@ -551,8 +551,8 @@ TEST( TEST_IOT_ADC, AFQP_IotAdcIoctlSetConfigFuzzy ) lRetVal = iot_adc_ioctl( xAdcHandle, eGetAdcConfig, &xAdcConfig ); TEST_ASSERT_EQUAL( IOT_ADC_SUCCESS, lRetVal ); - TEST_ASSERT_EQUAL( 3, xAdcConfig.ulAdcSampleTime ); - TEST_ASSERT_EQUAL( 12, xAdcConfig.ucAdcResolution ); + TEST_ASSERT_TRUE( xAdcConfig.ulAdcSampleTime >= 3 ); + TEST_ASSERT_TRUE( xAdcConfig.ucAdcResolution >= 12 ); } lRetVal = iot_adc_close( xAdcHandle );