MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / FixSCCEncodedNegativeWrapper

Function FixSCCEncodedNegativeWrapper

src/tests/string_func.cpp:399–404  ·  view source on GitHub ↗

Helper to call FixSCCEncodedNegative and return the result in a new string. */

Source from the content-addressed store, hash-verified

397
398/* Helper to call FixSCCEncodedNegative and return the result in a new string. */
399static std::string FixSCCEncodedNegativeWrapper(const std::string &str)
400{
401 std::string result = str;
402 FixSCCEncodedNegative(result);
403 return result;
404}
405
406TEST_CASE("FixSCCEncodedNegative")
407{

Callers 1

string_func.cppFile · 0.85

Calls 1

FixSCCEncodedNegativeFunction · 0.85

Tested by

no test coverage detected