12 lines
341 B
C++
12 lines
341 B
C++
#include "fixtures/D3D12TestFixture.h"
|
|
|
|
TEST_F(D3D12TestFixture, CommandList_Close_Basic) {
|
|
HRESULT hr = GetCommandList()->Close();
|
|
ASSERT_HRESULT_SUCCEEDED(hr);
|
|
}
|
|
|
|
TEST_F(D3D12TestFixture, CommandList_Get_Desc) {
|
|
D3D12_COMMAND_LIST_TYPE type = GetCommandList()->GetType();
|
|
EXPECT_EQ(type, D3D12_COMMAND_LIST_TYPE_DIRECT);
|
|
}
|