Basic move with no overlap */
| 13 | |
| 14 | /* Basic move with no overlap */ |
| 15 | static void TC_rt_memmove_basic(void) |
| 16 | { |
| 17 | char src[] = "Hello"; |
| 18 | char dest[10] = {0}; |
| 19 | rt_memmove(dest, src, rt_strlen(src) + 1); |
| 20 | uassert_str_equal(dest, "Hello"); |
| 21 | } |
| 22 | |
| 23 | /* Move with overlap (src before dest) */ |
| 24 | static void TC_rt_memmove_overlap_src_before(void) |
nothing calls this directly
no test coverage detected