//------------------------------------------------------------------------------ void testVerify_P(char* result, PGM_P expect) { testOut->write('"'); testOut->print(result); testOut->print("\",\""); testOut->print((const __FlashStringHelper*)expect); testOut->write('"'); uint8_t n = strlen(result) + strlenPGM(expect) + 5; testResult(!strcmp_P(result, expect), n); }
//------------------------------------------------------------------------------ void testVerify_P(char* result, PGM_P expect) { testOut->write('"'); testOut->print(result); testOut->print("\",\""); print_P(testOut, expect); testOut->write('"'); uint8_t n = strlen(result) + strlenPGM(expect) + 5; testResult(!strcmp_P(result, expect), n); }
//------------------------------------------------------------------------------ void testVerify_P(bool b, PGM_P msg) { testOut->print((const __FlashStringHelper*)msg); uint8_t n = strlenPGM(msg); testResult(b, n); }
//------------------------------------------------------------------------------ void testVerify_P(bool b, PGM_P msg) { print_P(testOut, msg); uint8_t n = strlenPGM(msg); testResult(b, n); }