09-09-2009, 09:54 AM
The code fragment does not violate any MISRA C rules relating to the switch statement.
The number of tests cases suggested by this code fragment will depend on the project testing strategy. This is not something that the MISRA C Guidelines addresses.
The number of tests cases suggested by this code fragment will depend on the project testing strategy. This is not something that the MISRA C Guidelines addresses.
Posted by and on behalf of the MISRA C Working Group