// Tests monomial evaluation and differentiation in double double precision.

#include <iostream>
#include "dbl2_monomials_testers.h"

using namespace std;

int main ( void )
{
   cout << "Give the seed (0 for time) : ";
   int seed; cin >> seed;

   cout << "Give the dimension : ";
   int dim; cin >> dim;

   cout << "Give the number of variables, <= "; cout << dim;
   cout << " : "; int nvr; cin >> nvr;

   // cout << "Give the largest power of each variable : "; cin >> pwr;
   const int pwr = 1;

   cout << "Give the degree of the series : ";
   int deg; cin >> deg;

   cout << "Give the verbose level : ";
   int vrb; cin >> vrb;

   int fail = main_dbl2_test(seed,dim,nvr,pwr,deg,vrb);

   if(fail == 0)
      cout << "All tests passed." << endl;
   else
      cout << "Number of failed tests : " << fail << endl;

   return 0;
}
