Adjusted value for more accurate input.
This commit is contained in:
parent
c2ce883adb
commit
78fdf54421
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue