1 #include "stresstest.h"
3 #include "progressbar.h"
8 int main(int argc, char ** argv)
11 Debug("Repeated Adds and Subtracts - Should give zero");
13 clock_t first_clock = clock();
15 for (int i = 1; i < 2; ++i)
17 for (int j = 1; j < 100; ++j)
19 clock_t start = clock();
20 Real result = AddSub<Real>(0, i, Real(1)/Real(j));
21 clock_t end = clock();
22 elapsed += end - start;
23 printf("%d\t%d\t%.30lf\t%li\t%li\n", i, j, Double(result), end-start, elapsed);
27 Debug("AddSub Total Time: %li", clock() - first_clock);