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

Function require

tests/unittests/test_server_multipart.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using minitts::server::parse_multipart_body;
11
12void require(bool condition, const std::string & message) {
13 if (!condition) {
14 throw std::runtime_error(message);
15 }
16}
17
18void test_extract_multipart_boundary() {
19 require(

Calls

no outgoing calls

Tested by

no test coverage detected