core/tests: Remove test.h
This file is no longer needed now that everything has been converted to C. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
d81ef77fb3
commit
eba243a22a
|
@ -1,25 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 (c) Anna Schumaker.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef TESTS_CORE_TESTS_H
|
|
||||||
#define TESTS_CORE_TESTS_H
|
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
#include <tests/test.h>
|
|
||||||
}
|
|
||||||
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
|
|
||||||
#undef tostring
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
static inline char *tostring(T s)
|
|
||||||
{
|
|
||||||
std::stringstream ss;
|
|
||||||
ss << s;
|
|
||||||
return strdup(ss.str().c_str());
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* TESTS_CORE_TESTS_H */
|
|
Loading…
Reference in New Issue