MCPcopy Create free account
hub / github.com/comaps/comaps / UNIT_TEST

Function UNIT_TEST

libs/drape_frontend/drape_frontend_tests/frame_values_tests.cpp:17–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15} // namespace
16
17UNIT_TEST(FrameValues_SetTo)
18{
19 df::FrameValues frameValues;
20 frameValues.m_pivotTransform = kTestMatrix1;
21 frameValues.m_projection = kTestMatrix2;
22 frameValues.m_zScale = 42.0f;
23
24 gpu::MapProgramParams params;
25 frameValues.SetTo(params);
26
27 TEST(params.m_pivotTransform == frameValues.m_pivotTransform, ());
28 TEST(params.m_projection == frameValues.m_projection, ());
29 TEST(params.m_zScale == frameValues.m_zScale, ());
30}
31
32UNIT_TEST(FrameValues_SetTo_Partial)
33{

Callers

nothing calls this directly

Calls 2

TESTFunction · 0.85
SetToMethod · 0.80

Tested by

no test coverage detected