#include #include "validate.h" #include "funcList.h" bool ValidateFactorial( const string& operation ) { if( operation != "factorial" ) return false; cout << "This test is not yet implemented" << endl; #ifdef NEVER LargeNumber::digitUnsigned_t a; LargeNumber B; LargeNumber C; cin >> a; cin >> B; C.Factorial( a ); if( B != C ) { cout << "Error: Factorial:" << endl; cout << "\ta: " << a << endl; cout << "\tB: " << B << endl; cout << "\tC: " << C << endl; B.Dump(); cout << endl; C.Dump(); cout << endl; #endif return true; } static TestFunctionList RegFunc( ValidateFactorial );