MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / Run

Method Run

tests/runtime/strings/runner.cpp:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void exports::runner::Run() {
14 test::strings::to_test::TakeBasic("latin utf16");
15
16 auto str2 = test::strings::to_test::ReturnUnicode();
17 assert_str(str2, "🚀🚀🚀 𠈄𓀀");
18
19 auto str3 = test::strings::to_test::ReturnEmpty();
20 assert_str(str3, "");
21
22 auto str5 = test::strings::to_test::Roundtrip("🚀🚀🚀 𠈄𓀀");
23 assert_str(str5, "🚀🚀🚀 𠈄𓀀");
24}

Callers

nothing calls this directly

Calls 5

TakeBasicFunction · 0.85
ReturnUnicodeFunction · 0.85
ReturnEmptyFunction · 0.85
RoundtripFunction · 0.85
assert_strFunction · 0.70

Tested by

no test coverage detected