generated from TDD-Templates/cmake_cpputest_template_avr
Adjusted value for more accurate input.
This commit is contained in:
parent
c2ce883adb
commit
78fdf54421
|
@ -30,9 +30,9 @@ TEST_GROUP(test_MockADC)
|
||||||
TEST(test_MockADC, ADC_InitExpects)
|
TEST(test_MockADC, ADC_InitExpects)
|
||||||
{
|
{
|
||||||
mock().expectOneCall("ADC_Init")
|
mock().expectOneCall("ADC_Init")
|
||||||
.withUnsignedIntParameter("adc_chan", 7);
|
.withUnsignedIntParameter("adc_chan", 0);
|
||||||
|
|
||||||
ADC_Init(7);
|
ADC_Init(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(test_MockADC, ADC_EnableExpects)
|
TEST(test_MockADC, ADC_EnableExpects)
|
||||||
|
|
Loading…
Reference in New Issue