void test_not(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_not(first); judge_unary(first, expected, actual, "not", "!", comment); }
void test_signum(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_signum(first); judge_unary(first, expected, actual, "signum", "s", comment); }
void test_is_zero(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_is_zero(first); judge_unary(first, expected, actual, "is_zero", "z", comment); }
void test_neg(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_neg(first); judge_unary(first, expected, actual, "neg", "n", comment); }
void test_integer(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_integer(first); judge_unary(first, expected, actual, "integer", "i", comment); }
void test_is_nan(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_is_nan(first); judge_unary(first, expected, actual, "is_nan", "i", comment); }
static void test_tan(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_tan(first); judge_unary(first, expected, actual, "tan", "t", comment); }
void test_abs(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_abs(first); judge_unary(first, expected, actual, "abs", "a", comment); }
static void test_sqrt(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_sqrt(first); judge_unary(first, expected, actual, "sqrt", "s", comment); }
static void test_log(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_log(first); judge_unary(first, expected, actual, "log", "ln", comment); }
static void test_factorial(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_factorial(first); judge_unary(first, expected, actual, "fac", "!", comment); }
static void test_exp(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_exp(first); judge_unary(first, expected, actual, "exp", "e", comment); }
static void test_cos(dec64 first, dec64 expected, char * comment) { dec64 actual = dec64_cos(first); judge_unary(first, expected, actual, "cos", "c", comment); }