double Test::RunTest(double dist1[], int count1, double dist2[], int count2, int distSize) { if(m_type == KS) return RunKSTest(dist1, count1, dist2, count2, distSize); else if(m_type == CHIS) return RunChiTest(dist1, count1, dist2, count2, distSize); else { cerr << "No type of statistical test set" << endl; exit(1); } }
double Test::RunTest(double dist1[], int count1, double dist2[], int count2, int distSize) { cout << "Running test --"; cout << " Count1: " << std::to_string(count1); cout << " Count2: " << std::to_string(count2); cout << endl; if (m_type == KS) { return RunKSTest(dist1, count1, dist2, count2, distSize); } else if (m_type == CHIS) { return RunChiTest(dist1, count1, dist2, count2, distSize); } else { cerr << "No type of statistical test set" << endl; exit(1); } }