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

Method ListParam

tests/runtime/lists/test.cpp:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void exports::test::lists::to_test::ListParam(wit::vector<uint8_t> list) {
64 assert(equal(list, std::vector<uint8_t>{1, 2, 3, 4}));
65}
66
67void exports::test::lists::to_test::ListParam2(wit::string ptr) {
68 assert(equal(ptr, std::string_view("foo")));

Callers 2

RunFunction · 0.45
RunMethod · 0.45

Calls 2

assertFunction · 0.70
equalFunction · 0.70

Tested by

no test coverage detected