diff --git a/tests/ADC/test_ADC.cpp b/tests/ADC/test_ADC.cpp index 1c5c03c..04f1f6d 100644 --- a/tests/ADC/test_ADC.cpp +++ b/tests/ADC/test_ADC.cpp @@ -154,9 +154,10 @@ TEST(test_ADC, ADC_ReadValueImplimentationTimesOut) .withPointerParameter("reg", (void *) &ADCSRA) .withUnsignedIntParameter("bit_num", ADSC); - //Check that it does return a value. + //Check that it return the "error" value - ADC_ReadValue(0); + uint16_t value = ADC_ReadValue(0); + CHECK_EQUAL_TEXT(UINT16_MAX, value, "ERROR: Should return UINT16_MAX!"); }