MCPcopy Create free account
hub / github.com/KDE/labplot / getFunction3

Function getFunction3

tests/backend/gsl/ExpressionParserTest.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30func_t3 getFunction3(const QString& s) {
31 const QString functionName(s);
32 for (int i = 0; i < _number_functions; i++) {
33 if (functionName == QLatin1String(_functions[i].name)) {
34 if (_functions[i].argc == 3)
35 return std::get<func_t3>(_functions[i].fnct);
36 }
37 }
38 return nullptr;
39}
40} // anonymous namespace
41
42void ExpressionParserTest::testIsValid() {

Callers 6

testifConditionMethod · 0.85
testbetweenIncludedMethod · 0.85
testoutsideIncludedMethod · 0.85
testbetweenMethod · 0.85
testoutsideMethod · 0.85
testequalEpsilonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected