MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / TEST_METHOD

Function TEST_METHOD

IntelPresentMon/UnitTests/Style.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 Assert::IsTrue(std::holds_alternative<at::Special::Auto>(pSheet->Resolve<at::height>()));
46 }
47 TEST_METHOD(Absent)
48 {
49 using namespace p2c::gfx::lay::sty;
50 auto pSheet = Stylesheet::Make();
51 pSheet->InsertRaw(at::height::key, std::wstring(at::Special::Auto::key));
52 Assert::IsTrue(std::holds_alternative<std::monostate>(pSheet->Resolve<at::width>()));
53 }
54 TEST_METHOD(Value)
55 {
56 using namespace p2c::gfx::lay::sty;

Callers

nothing calls this directly

Calls 8

EnumFunction · 0.85
MakeColorRawFunction · 0.85
InsertRawMethod · 0.80
PushAppliedSheetMethod · 0.80
SetSheetsMethod · 0.80
CompileMethod · 0.80
SetBaseSheetMethod · 0.80
PushMethod · 0.45

Tested by

no test coverage detected