Document API IEC60730 Library
|
Header file list of test cases for the verification operate function sl_iec60730_program_counter_test(). More...
Functions | |
void | test_sl_iec60730_program_counter_complete_all_bit_check (void) |
void | test_sl_iec60730_program_counter_fail_some_bit_check (void) |
Header file list of test cases for the verification operate function sl_iec60730_program_counter_test().
IEC60730 Program Counter Unit Tests
These test cases run unit tests to check the operation of the function sl_iec60730_program_counter_test()
Hardware setup:
void test_sl_iec60730_program_counter_complete_all_bit_check | ( | void | ) |
Public Check sl_iec60730_program_counter_test() operate
If bool local is_function_called variable equal false. It means test result routine of sl_iec60730_program_counter_test() is a pass, function sl_iec60730_safety_check_error_occur() is not called.
void test_sl_iec60730_program_counter_fail_some_bit_check | ( | void | ) |
Public Check sl_iec60730_program_counter_test() operate
If bool local is_function_called variable true. It means test result routine of sl_iec60730_program_counter_test() is a failure, function sl_iec60730_safety_check_error_occur() is called.