MCPcopy Create free account
hub / github.com/carbonengine/trinity / TEST

Function TEST

trinityal/tests/VideoAdapterInfo.cpp:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using namespace Tr2RenderContextEnum;
7
8TEST( VideoAdapterInfo, HasAtLeastOneAdapter )
9{
10 unsigned count = 0;
11 ASSERT_HRESULT_SUCCEEDED( Tr2VideoAdapterInfo::GetAdapterCount( count ) );
12 if( !count )
13 {
14 GTEST_SKIP() << "Test Skipped as no adapters present on machine.";
15 }
16 EXPECT_GT( count, 0u );
17}
18
19TEST( VideoAdapterInfo, CanGetDefaultAdapterInfo )
20{

Callers

nothing calls this directly

Calls 2

GetDriverVersionFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected