MCPcopy Create free account
hub / github.com/bgrimstad/splinter / getTestFunctionsOfDegree

Function getTestFunctionsOfDegree

test/testingutilities.cpp:753–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753std::vector<TestFunction *> getTestFunctionsOfDegree(int degree)
754{
755 auto testFuncs = std::vector<TestFunction *>();
756 for(int i = 1; i < (int) testFunctions.size(); ++i) {
757 if(degree < (int) testFunctions.at(i).size()) {
758 testFuncs.push_back(testFunctions.at(i).at(degree));
759 }
760 }
761 return testFuncs;
762}
763
764std::vector<TestFunction *> getTestFunctionWithNumVariables(int numVariables)
765{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected