#include #include "validate.h" #include "funcList.h" bool ValidateFastExp( const string& operation ) { if( operation != "fastExp" ) return false; ln b, e, m, p, t; cin >> b >> e >> m >> p; t = b.FastExp( e, m ); if( t != p ) { errorCount++; cerr << "Error in fastExp" << endl; } return true; } static TestFunctionList RegFunc( ValidateFastExp );