#include "problemcasevalidator.h" #include "../utils.h" ProblemCaseValidator::ProblemCaseValidator() { } bool ProblemCaseValidator::validate(POJProblemCase problemCase) { if (!problemCase) return false; QStringList output = TextToLines(problemCase->output); QStringList expected = TextToLines(problemCase->expected); if (output.count()!=expected.count()) return false; for (int i=0;i