#include #include "test_binary_op.h" template bool test_op() { using T = typename P::value_type; using greater_value_type = typename P::greater_value_type; return test_binary_op

( [](T a, T b, T m) { return (a+b) % m; }, [](P const& a, P const& b) { return a+b; } ); } template bool run() { using poly_t = nfl::poly_from_modulus; using poly_p_t = nfl::poly_p_from_modulus; return test_op() and test_op(); } int main(int argc, char const* argv[]) { return not run() ; }