MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / test_stream_reader

Function test_stream_reader

tests/flx.cc:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24static void test_stream_reader()
25{
26 test_convert(Bytes{0}, Bytes{});
27
28 /* Simple one-byte intervals */
29 test_convert(Bytes{0, 0x64, FLX_STOP}, Bytes{0xb0});
30
31 /* Index pulse */
32 test_convert(Bytes{0, 0x64, FLX_INDEX, 0x64, FLX_STOP}, Bytes{0xf0, 0xb0});
33}
34
35int main(int argc, const char* argv[])
36{

Callers 1

mainFunction · 0.70

Calls 1

test_convertFunction · 0.70

Tested by

no test coverage detected