Searched refs:TEST_ASSERT_EQUAL_MEMORY (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ntp/sntp/tests/ |
H A D | crypto.c | 85 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, SHA1_LENGTH); 117 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, CMAC_LENGTH);
|
H A D | packetHandling.c | 124 TEST_ASSERT_EQUAL_MEMORY(expected_mac, (void *)&testpkt.exten[1], in test_OffsetCalculationPositiveOffset() 292 TEST_ASSERT_EQUAL_MEMORY(REASON, entry->type, 4); in test_HandleCorrectPacket()
|
/freebsd/contrib/ntp/sntp/unity/ |
H A D | unity.h | 119 #define TEST_ASSERT_EQUAL_MEMORY(expected, actual, len) … macro
|
/freebsd/contrib/ntp/ |
H A D | CommitLog | 33013 replaced TEST_ASSERT_EQUAL_MEMORY(&a,&b,sizeof(a)) with TEST_ASSERT_EQUAL_l_fp(a,b). It's safer this way, because structs can be compared even if they aren't initiated with memset (due to padding bytes) 33016 replaced TEST_ASSERT_EQUAL_MEMORY(&a,&b,sizeof(a)) with TEST_ASSERT_EQUAL_l_fp(a,b). It's safer this way, because structs can be compared even if they aren't initiated with memset (due to padding bytes) [all...] |