Uncommented the SetAllHigh test and added the constatnts
This commit is contained in:
parent
2e26507d76
commit
077b265be2
|
@ -57,28 +57,27 @@ TEST(test_TriacOut, TriacOut_SetupPins)
|
|||
TriacOut_SetupPins();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
TEST(test_TriacOut, TriacOut_SetAllHigh)
|
||||
{
|
||||
|
||||
//Expect that pin PA1 is set to output
|
||||
mock().expectOneCall("RegEdit_SetBit")
|
||||
.withPointerParameter("reg", (void *) &PORTA.OUT)
|
||||
.withUnsignedIntParameter("bit_num", (1<<1));
|
||||
.withUnsignedIntParameter("bit_num", G1);
|
||||
|
||||
//Expect that pin PB3 is set to output
|
||||
mock().expectOneCall("RegEdit_SetBit")
|
||||
.withPointerParameter("reg", (void *) &PORTB.OUT)
|
||||
.withUnsignedIntParameter("bit_num", (1<<3));
|
||||
.withUnsignedIntParameter("bit_num", G2);
|
||||
|
||||
//Expect that pin PB2 is set to output
|
||||
mock().expectOneCall("RegEdit_SetBit")
|
||||
.withPointerParameter("reg", (void *) &PORTB.OUT)
|
||||
.withUnsignedIntParameter("bit_num", (1<<2));
|
||||
.withUnsignedIntParameter("bit_num", G3);
|
||||
|
||||
TriacOut_SetAllHigh();
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
TEST(test_TriacOut, TriacOut_InitTimerA)
|
||||
|
|
Loading…
Reference in New Issue