#ifndef RTS_VALIDATE_COMPARE_H #define RTS_VALIDATE_COMPARE_H #define N 5000 #define epsilon 0.00001 #include #include #include #include "rts/complex.h" template static void compare(std::complex a, rts::complex b, std::string testName) { T diffx = std::abs(a.real() - b.r); T diffy = std::abs(a.imag() - b.i); if(diffx > epsilon || diffy > epsilon) { std::cout<<"Failed "<