MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / require

Function require

tests/unittests/test_rnnoise_utility.cpp:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void require(bool condition, const std::string & message) {
45 if (!condition) {
46 throw std::runtime_error(message);
47 }
48}
49
50void require_close(
51 const std::vector<float> & actual,

Callers 3

require_closeFunction · 0.70
run_caseFunction · 0.70
run_waveform_caseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected