MCPcopy Create free account
hub / github.com/apache/fory / TEST

Function TEST

cpp/fory/serialization/unsigned_serializer_test.cc:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93// ============================================================================
94
95TEST(UnsignedSerializerTest, Uint8NativeRoundtrip) {
96 test_roundtrip_native<uint8_t>(0);
97 test_roundtrip_native<uint8_t>(127);
98 test_roundtrip_native<uint8_t>(255);
99 test_roundtrip_native<uint8_t>(42);
100}
101
102TEST(UnsignedSerializerTest, Uint16NativeRoundtrip) {
103 test_roundtrip_native<uint16_t>(0);

Callers

nothing calls this directly

Calls 12

test_roundtrip_nativeFunction · 0.85
serializeMethod · 0.65
errorMethod · 0.65
valueMethod · 0.65
buildMethod · 0.45
compatibleMethod · 0.45
track_refMethod · 0.45
xlangMethod · 0.45
okMethod · 0.45
to_stringMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected