少年修仙传客户端基础资源
hch
2024-04-11 4c71d74b77c9eb62a0323698c9a0db3b641a917e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if ENABLE_UNIT_TESTS
 
#include "UnitTest++.h"
 
#include "../../Thread.h"
#include "../Thread-c-api.h"
 
SUITE(Thread)
{
    TEST(GetCurrentThreadIdMatchesClass)
    {
        CHECK(UnityPalGetCurrentThreadId() == il2cpp::os::Thread::GetCurrentThread()->Id());
    }
}
 
#endif // ENABLE_UNIT_TESTS