#include static bool zaptest_test_strfill(void) { char str[] = { 'H', 'e', 'y', '!', '\x0', }; zap_strfill(str,'&'); zaptest_chk(str[0x0u],'&', char,"'%c'"); zaptest_chk(str[0x1u],'&', char,"'%c'"); zaptest_chk(str[0x2u],'&', char,"'%c'"); zaptest_chk(str[0x3u],'&', char,"'%c'"); zaptest_chk(str[0x4u],'\x0',char,"'%c'"); return false; }