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

Method ListParam4

tests/runtime/lists/test.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void exports::test::lists::to_test::ListParam4(wit::vector<wit::vector<wit::string>> ptr) {
79 assert(equal(ptr.size(), size_t(2)));
80 assert(equal(ptr[0][0], std::string_view("foo")));
81 assert(equal(ptr[0][1], std::string_view("bar")));
82 assert(equal(ptr[1][0], std::string_view("baz")));
83}
84
85void exports::test::lists::to_test::ListParam5(wit::vector<std::tuple<uint8_t, uint32_t, uint8_t>> a) {
86

Callers 2

RunFunction · 0.45
RunMethod · 0.45

Calls 3

assertFunction · 0.70
equalFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected