MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / expectBus

Function expectBus

tests/device_diagnostics_test.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void expectBus(const char* name, const QString& description, const QByteArray& id, const QString& expected)
25{
26 const auto result = inferAudioBusType(description, id);
27 report(name,
28 result.type == expected,
29 QString("got=%1 expected=%2 source=%3")
30 .arg(result.type, expected, result.source)
31 .toStdString());
32}
33
34} // namespace
35

Callers 1

mainFunction · 0.85

Calls 2

inferAudioBusTypeFunction · 0.85
reportFunction · 0.70

Tested by

no test coverage detected