/* * Copyright 2015 (c) Anna Schumaker. */ #ifndef TESTS_CORE_TESTS_H #define TESTS_CORE_TESTS_H extern "C" { #include } #include #undef tostring template static inline char *tostring(T s) { std::stringstream ss; ss << s; return strdup(ss.str().c_str()); } #endif /* TESTS_CORE_TESTS_H */