// Step 1955: PolyglotResultAggregator // // t1: addResult and totalCount // t2: aggregateReport pass/fail counts // t3: aggregateReport failedLanguages // t4: aggregateReport totalDurationMs // t5: resultsForLanguage and clear #include "PolyglotResultAggregator.h" #include namespace ws = whetstone; static int p=0,f=0; #define T(n) { std::cout<<" "<<#n<<"... "; } #define P() { std::cout<<"PASS\n"; ++p; } #define F(m) { std::cout<<"FAIL: "< 0 ? 1 : 0; }