squall/test/Thread.cpp

10 lines
225 B
C++
Raw Normal View History

2021-12-17 15:43:58 -06:00
#include "storm/Thread.hpp"
#include "test/Test.hpp"
TEST_CASE("SGetCurrentThreadId", "[thread]") {
SECTION("returns thread id") {
uintptr_t threadId = SGetCurrentThreadId();
CHECK(threadId > 0);
}
}