MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / plural

Function plural

Source/Falcor/Testing/UnitTest.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117};
118
119inline const char* plural(size_t count, const char* suffix)
120{
121 if (count == 1)
122 return "";
123 return suffix;
124}
125
126void registerCPUTest(std::filesystem::path path, std::string name, unittest::Options options, CPUTestFunc func)
127{

Callers 2

runTestsParallelFunction · 0.85
runTestsSerialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected