15 lines
396 B
C++
15 lines
396 B
C++
#include <sp/misc/Format.h>
|
|
#include <sp/misc/Log.h>
|
|
#include <sp/misc/Test.h>
|
|
|
|
namespace sp {
|
|
namespace test {
|
|
|
|
void LogAssert(const char* expression, const char* file, int line, const char* function) {
|
|
utils::LOGE(utils::Format("%s:%i: %s: Assertion failed !", file, line, function));
|
|
utils::LOGE(utils::Format(" %i |\t%s;", line, expression));
|
|
}
|
|
|
|
} // namespace test
|
|
} // namespace sp
|