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

Function TEST

cpp/fory/serialization/struct_test.cc:726–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724// ============================================================================
725
726TEST(StructComprehensiveTest, SingleFieldStruct) {
727 test_roundtrip(SingleFieldStruct{0});
728 test_roundtrip(SingleFieldStruct{42});
729 test_roundtrip(SingleFieldStruct{-100});
730 test_roundtrip(SingleFieldStruct{INT32_MAX});
731 test_roundtrip(SingleFieldStruct{INT32_MIN});
732}
733
734TEST(StructComprehensiveTest, TwoFieldStruct) {
735 test_roundtrip(TwoFieldStruct{0, 0});

Callers

nothing calls this directly

Calls 15

make_test_field_infoFunction · 0.85
make_test_field_typeFunction · 0.85
get_field_infosMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
findMethod · 0.80
test_roundtripFunction · 0.70
field_types_compatibleFunction · 0.70
serializeMethod · 0.65
errorMethod · 0.65
valueMethod · 0.65

Tested by

no test coverage detected