squall/test/Thread.cpp
2021-12-17 15:43:58 -06:00

9 lines
225 B
C++

#include "storm/Thread.hpp"
#include "test/Test.hpp"
TEST_CASE("SGetCurrentThreadId", "[thread]") {
SECTION("returns thread id") {
uintptr_t threadId = SGetCurrentThreadId();
CHECK(threadId > 0);
}
}