#define NUM_OF_MOD_INV_TESTS 4 #define NUM_OF_MOD_PRODUCT_TESTS 3 #define NUM_OF_MOD_POWER_TESTS 4 #define NUM_OF_COPRIME_TESTS 5 #define NUM_OF_TOTIENT_TESTS 6 #define NUM_OF_MOD_EVAL_POLYNOMIAL_TESTS 1 int TOTIENT_NUMS[NUM_OF_TOTIENT_TESTS] = {1, 2, 3, 41, 125, 9400}; int TOTIENT_EVALS[NUM_OF_TOTIENT_TESTS] = {1, 1, 2, 40, 100, 3680}; int COPRIME_NUM_PAIRS[NUM_OF_COPRIME_TESTS][2] = {{3,5}, {9, 28}, {100, 34}, {1000512415, 557825}, {2286144, 1515839}}; int COPRIME_EVALS[NUM_OF_COPRIME_TESTS] = {1, 1, 0, 0, 1}; int MOD_PRODUCT_NUM_PAIRS[NUM_OF_MOD_PRODUCT_TESTS][2] = {{5,6}, {41,3}, {16, 3}}; int MOD_PRODUCT_MODS[NUM_OF_MOD_PRODUCT_TESTS] = {10, 8, 19}; int MOD_PRODUCT_PRODUCTS[NUM_OF_MOD_PRODUCT_TESTS] = {0, 3, 10}; int MOD_INV_NUMS[NUM_OF_MOD_INV_TESTS] = {5, 4, 53, 3}; int MOD_INV_MODS[NUM_OF_MOD_INV_TESTS] = {12, 23, 105, 7}; int MOD_INV_INVS[NUM_OF_MOD_INV_TESTS] = {5, 6, 2, 5}; int MOD_POWER_NUMS[NUM_OF_MOD_POWER_TESTS] = {3, 19, 6, 7}; int MOD_POWER_MODS[NUM_OF_MOD_POWER_TESTS] = {4, 23, 7, 33}; int MOD_POWER_POWERS[NUM_OF_MOD_POWER_TESTS] = {10, 3, 4, 635}; int MOD_POWER_EVALS[NUM_OF_MOD_POWER_TESTS] ={1, 5, 1, 10};