generated from TDD-Templates/cmake_cpputest_template_avr
Added test for ADC_Disable()
This commit is contained in:
parent
969b852cb3
commit
352ee9e6a8
|
@ -133,12 +133,11 @@ TEST(test_ADC, ADC_EnablePasses)
|
|||
|
||||
TEST(test_ADC, ADC_DisablePasses)
|
||||
{
|
||||
/*
|
||||
mock().expectOneCall("RegEdit_ClearBit")
|
||||
.withPointerParameter("reg", (void *) &ADC0.CTRLA)
|
||||
.withUnsignedIntParameter("bit_num", 0);
|
||||
*/
|
||||
//ADC_Disable();
|
||||
.withPointerParameter("reg", (void *) &ADCSRA)
|
||||
.withUnsignedIntParameter("bit_num", ADEN);
|
||||
|
||||
ADC_Disable();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue