| 230 | } |
| 231 | |
| 232 | auto Task::getTotalScore() const -> int { |
| 233 | int total = 0; |
| 234 | |
| 235 | for (auto *i : testCaseList) { |
| 236 | total += i->getFullScore(); |
| 237 | } |
| 238 | |
| 239 | return total; |
| 240 | } |
| 241 | int Task::writeToJson(QJsonObject &in) { |
| 242 | WRITE_JSON(in, problemTitle); |
| 243 | WRITE_JSON(in, sourceFileName); |
no test coverage detected