| 15 | } // namespace |
| 16 | |
| 17 | UNIT_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 | |
| 32 | UNIT_TEST(FrameValues_SetTo_Partial) |
| 33 | { |