MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / TEST

Function TEST

tests/unit_test/sk_string_test.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#include "../../src/libc/sk_string.c"
33
34TEST(SkStringTest, Memcpy) {
35 char src[] = "hello";
36 char dest[10];
37 memcpy(dest, src, 6);
38 EXPECT_STREQ(dest, "hello");
39}
40
41TEST(SkStringTest, Memmove) {
42 char str[] = "memory move test";

Callers

nothing calls this directly

Calls 11

memcpyFunction · 0.85
memmoveFunction · 0.85
memsetFunction · 0.85
memcmpFunction · 0.85
memchrFunction · 0.85
strcpyFunction · 0.85
strcmpFunction · 0.85
strlenFunction · 0.85
strnlenFunction · 0.85
strchrFunction · 0.85
strrchrFunction · 0.85

Tested by

no test coverage detected