You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
282 B
14 lines
282 B
#include <iostream>
|
|
|
|
extern int test_nt_jacobi (int iterations);
|
|
|
|
#define RUN(tester,iterations) \
|
|
std::cout << "Testing "#tester"..." << std::endl; \
|
|
error |= tester (iterations);
|
|
|
|
int test_nt (int iterations)
|
|
{
|
|
int error = 0;
|
|
RUN(test_nt_jacobi,iterations);
|
|
return error;
|
|
}
|