#include "rec/JppShowerPdf.hh" #include "rec/JppPdfTest.hh" #include "rec/util.hh" int main(int argc, char** argv){ JppShowerPdf pdf( argv[1], argv[2] ); cout << "Running test_pdf..." << endl; const uint error_count = pdf.test_pdf(); if( error_count ){ cout << "Test failed! Number of errors: " << error_count << endl; } else cout << "Test passed." << endl; return error_count; }