MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / addTestCase

Method addTestCase

src/core/task.cpp:148–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void Task::addTestCase(TestCase *testCase) {
149 testCase->setIndex(testCaseList.size() + 1);
150 testCaseList.append(testCase);
151}
152
153void Task::addTestCase(TestCase *testCase, int loc) { testCaseList.insert(loc, testCase); }
154

Callers 4

addTaskMethod · 0.45
addTaskWithScoreScaleMethod · 0.45
splitSelectedMethod · 0.45
appendNewSubMethod · 0.45

Calls 1

setIndexMethod · 0.80

Tested by 2

splitSelectedMethod · 0.36
appendNewSubMethod · 0.36