mirror of
https://github.com/nomic-ai/kompute.git
synced 2026-05-11 08:59:59 +00:00
17 lines
394 B
C++
17 lines
394 B
C++
|
|
#include <gmock/gmock.h>
|
|
|
|
#include <kompute/Kompute.hpp>
|
|
|
|
int main(int argc, char *argv[]) {
|
|
testing::InitGoogleTest(&argc, argv);
|
|
testing::InitGoogleMock(&argc, argv);
|
|
|
|
#if KOMPUTE_ENABLE_SPDLOG
|
|
spdlog::set_level(static_cast<spdlog::level::level_enum>(SPDLOG_ACTIVE_LEVEL));
|
|
spdlog::error("default active level {}", SPDLOG_ACTIVE_LEVEL);
|
|
#endif
|
|
|
|
return RUN_ALL_TESTS();
|
|
}
|