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

Function Run

tests/runtime/strings/runner.go:8–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func Run() {
9 test.TakeBasic("latin utf16")
10 assertEqual(test.ReturnUnicode(), "🚀🚀🚀 𠈄𓀀")
11 assertEqual(test.ReturnEmpty(), "")
12 assertEqual(test.Roundtrip("🚀🚀🚀 𠈄𓀀"), "🚀🚀🚀 𠈄𓀀")
13}
14
15func assertEqual(a string, b string) {
16 if a != b {

Callers

nothing calls this directly

Calls 5

assertEqualFunction · 0.70
TakeBasicMethod · 0.45
ReturnUnicodeMethod · 0.45
ReturnEmptyMethod · 0.45
RoundtripMethod · 0.45

Tested by

no test coverage detected