MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / TestSequential

Method TestSequential

Src/ChannelLinter/ChannelLinter.cpp:231–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 bool ChannelLinter::TestSequential(MockDeviceBridge& channel, MockDeviceBridge& complementary, ByteView data)
232 {
233 channel.Send(data);
234 auto received = complementary.Receive();
235 return data == ByteView{ received[0] };
236 }
237
238
239 void ChannelLinter::TestCommand(std::shared_ptr<MockDeviceBridge> const& channel)

Callers

nothing calls this directly

Calls 2

SendMethod · 0.45
ReceiveMethod · 0.45

Tested by

no test coverage detected