Files
XCEngine/tests/RHI/D3D12/unit/test_command_list.cpp

14 lines
398 B
C++
Raw Normal View History

#include "fixtures/D3D12TestFixture.h"
#include "XCEngine/RHI/D3D12/D3D12Enums.h"
using namespace XCEngine::RHI;
TEST_F(D3D12TestFixture, CommandList_Close_Basic) {
GetCommandList()->Reset();
GetCommandList()->Close();
}
TEST_F(D3D12TestFixture, CommandList_Get_Desc) {
auto type = GetCommandList()->GetCommandList()->GetType();
EXPECT_EQ(type, D3D12_COMMAND_LIST_TYPE_DIRECT);
}