MCPcopy Create free account
hub / github.com/cactus-compute/cactus / test_unicode

Function test_unicode

tests/test_index.cpp:237–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237bool test_unicode() {
238 IndexFixture f("test_unicode");
239 if (!f.init()) return false;
240
241 f.add(1, "Hello 世界 🌍");
242 return f.get(1).second == "Hello 世界 🌍";
243}
244
245bool test_constructor() {
246 {

Callers 1

mainFunction · 0.85

Calls 3

initMethod · 0.45
addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected