=============================== Exercise-9.1: Unit test of APIs =============================== * Based on below table create unit test functions for positive cases and negative cases * Example : Positive cases * module_1_decl_4_test_1( ) --> char x[10] = "bangalore"; fun(x); * module_1_decl_4_test_2( ) --> char x[10] = "b"; fun(x); * module_1_decl_4_test_3( ) --> char x[10] = ""; fun(x); * module_1_decl_4_test_4( ) --> char x[10] = "\\0"; fun(x); * module_1_decl_4_test_5( ) --> char x[10] = "banga\\0lore"; fun(x); * module_1_decl_4_test_6( ) --> char x[10] = "\\0bangalore"; fun(x); .. csv-table:: :file: ./c_faqs_unit_testing.csv :widths: 2,50,50