MCPcopy Create free account
hub / github.com/Snapchat/Valdi / checkFixed32Conformance

Method checkFixed32Conformance

valdi_protobuf/test/Field_tests.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 void checkFixed32Conformance(ByteBuffer& buffer) {
80 checkValue<WireFormat::TYPE_FIXED32>(buffer, field.getFixed32());
81 checkValue<WireFormat::TYPE_SFIXED32>(buffer, field.getSFixed32());
82 checkValue<WireFormat::TYPE_FLOAT>(buffer, field.getFloat());
83 }
84
85 template<typename F>
86 void testEncode(F&& doEncode) {

Callers

nothing calls this directly

Calls 3

getFixed32Method · 0.80
getSFixed32Method · 0.80
getFloatMethod · 0.45

Tested by

no test coverage detected