MCPcopy Create free account
hub / github.com/amsynth/amsynth / count

Function count

tests/tests.cpp:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177static size_t count(const char **strings) {
178 size_t count;
179 for (count = 0; strings[count]; count ++);
180 return count;
181}
182
183TEST(testPresetValueStrings) {
184 assert(count(parameter_get_value_strings(kAmsynthParameter_Oscillator1Waveform)) == (int)Oscillator::Waveform::kRandom + 1);

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected